[rabbitmq-discuss] Shovel and x-message-ttl
Simon MacMullen
simon at rabbitmq.com
Mon May 21 13:27:55 BST 2012
On 21/05/12 12:50, Loic Pefferkorn wrote:
> 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.
{'queue.declare',
[{queue, <<"prod_hits_sop">>},
{durable, true},
{arguments, [{<<"x-message-ttl">>, long, 1000}]}]},
Cheers, Simon
>
> 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
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list