[rabbitmq-discuss] RabbitMQ 3.0.0 & Expiration & STOMP

Lionel Cons lionel.cons at cern.ch
Tue Nov 20 09:19:59 GMT 2012


Reading http://www.rabbitmq.com/ttl.html and http://www.rabbitmq.com/stomp.html,
it seems that per-message TTL is now supported, even with STOMP.

I've tried to use expiration but it does not work as expected. Here is my
test case (see attached):
 - send two messages in a queue, one with 3s TTL, the other one with 30s
 - wait 5s
 - connect and drain the queue

In my test I receive both messages, even the one which should have expired.

Any hint on why it does not work as expected?

Cheers,

Lionel

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: expiration.pl
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121120/e40c7cc8/attachment.txt>


More information about the rabbitmq-discuss mailing list