[rabbitmq-discuss] TTL on Messages

Francesco Mazzoli francesco at rabbitmq.com
Thu Sep 20 10:19:32 BST 2012

At Thu, 20 Sep 2012 00:40:34 -0700 (PDT),
Jordan wrote:
> I recently learned about the 'x-message-ttl' flag, but I'm not quite sure how
> to properly use it.  In particular, if a message expires, do I have any way of
> knowing *which* message it was?  Perhaps a correlation id?

You can use a DLX to redirect expired messages to some exchange:

Francesco * Often in error, never in doubt

More information about the rabbitmq-discuss mailing list