Allow overriding amqp delay and retries
diff --git a/heka/files/output/amqp.toml b/heka/files/output/amqp.toml
index 1d95a43..8e7f142 100644
--- a/heka/files/output/amqp.toml
+++ b/heka/files/output/amqp.toml
@@ -8,6 +8,10 @@
encoder = "{{ values.encoder }}"
[AMQPOutput_{{ name }}.retries]
-max_delay = "30s"
-delay = "250ms"
-max_retries = 5
+max_delay = "{{ values.get('max_delay', '30s') }}"
+delay = "{{ values.get('delay', '250ms') }}"
+max_retries = {{ values.get('max_retries', '-1') }}
+
+{#-
+vim: syntax=jinja
+-#}