[rabbitmq-discuss] Question about message ttl

Simon MacMullen simon at rabbitmq.com
Fri Sep 21 17:43:42 BST 2012


On 21/09/12 15:41, Thiago Souza wrote:
> Does consuming and rejecting a message resets it's TTL counter?

Hi.

"The original expiry time of a message is preserved if it is requeued 
(for example due to the use of an AMQP method that features a requeue 
parameter, or due to a channel closure)."

  -- http://www.rabbitmq.com/ttl.html

So no. I think this makes sense, since the message doesn't go back to 
the beginning of the queue either.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list