[rabbitmq-discuss] Shovel and x-message-ttl
Loic Pefferkorn
loic-rabbitmq at loicp.eu
Mon May 21 12:50:23 BST 2012
Hello,
In a Shovel setup, I would like to add the x-message-ttl argument to
the declaration section,
to have a queue automatically created with such configuration.
Is it possible ?
If so, what is the correct syntax ? I already made several tries,
without any success yet.
Environnement:
-RabbitMQ 2.8.2
Relevant part of rabbitmq.config:
----8<----
{declarations,
[
{'queue.declare',
[{queue, <<"prod_hits_sop">>},
durable,
[{<<"x-message-ttl">>, 1000}] (doesn't work)
]},
----8<----
Best regards,
Loïc
More information about the rabbitmq-discuss
mailing list