[rabbitmq-discuss] x-message-ttl extension to RabbitMQ
Chris Johnson
wchrisjohnson at gmail.com
Thu Aug 16 15:45:18 BST 2012
Hi Emile -
Sorry - I wasn't clear.
I meant to say that I want messages to stick around even after they are
delivered. I'd like specific queues to hold messages even if they have
been delivered for a specified period of time before deleting them...
Chris
On 8/16/12 3:39 AM, "Emile Joubert" <emile at rabbitmq.com> wrote:
>Hi Chris,
>
>On 16/08/12 01:33, Chris Johnson wrote:
>> I'm building a messaging solution where we'd like messages in several
>> queues to stick around for several days to a week or more. In the
>> documentation, it seems to say that this is achievable via the
>> Time-To-Live extension:
>
>If you don't want messages to expire at all then you don't need to
>provide any argument. The default is for messages never to expire.
>
>> 'x-message-ttl' => 2147483647})
>
>> The messages I'm pushing onto this queue are getting deleted
>> immediately, as least as far as I can tell within the dashboard UI.
>
>Check what value the broker received and make sure the value is what you
>expect:
>
>rabbitmqctl list_queues name arguments
>
>
>
>-Emile
>
More information about the rabbitmq-discuss
mailing list