[rabbitmq-discuss] x-message-ttl extension to RabbitMQ

Emile Joubert emile at rabbitmq.com
Thu Aug 16 08:39:00 BST 2012


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