[rabbitmq-discuss] Shovel and x-message-ttl

Loic Pefferkorn loic-rabbitmq at loicp.eu
Mon May 21 15:03:24 BST 2012


Le 21.05.2012 14:27, Simon MacMullen a écrit :
> 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

Works fine, thank you very much :)

Best regards,
Loïc



More information about the rabbitmq-discuss mailing list