[rabbitmq-discuss] php rabbitmq Per-Message TTL Issue

Simon MacMullen simon at rabbitmq.com
Thu Feb 6 08:34:32 GMT 2014

On 05/02/2014 13:11, dredger wrote:
> The problem in behaviour, how RabbitMQ process the messages with
> different "Per MessageTTL" in queue, the messages with largest TTL stop
> the messages with less TTL. So consumer process all mesages together,
> when largest TTL expire.

 From http://www.rabbitmq.com/ttl.html#per-message-ttl :

     When setting per-message TTL however, expired messages can queue up
     behind non-expired ones until the latter are consumed or expired.

So I'm afraid this is by design.

Cheers, Simon

More information about the rabbitmq-discuss mailing list