[rabbitmq-discuss] Vanishing of persistent messages on durable, auto-deleting queue with dead-lettering

Ernest Staszuk ernest.staszuk at comarch.pl
Fri Jun 29 17:27:09 BST 2012


When I was testing RabbitMQ I encountered a strange (in my opinion) 
behavior. After disconnecting
a client from durable, auto-deleting queue with dead-lettering-exchange 
I would expect passing all
messages to dead letter exchange and then deleting queue. But 
surprisingly for me queue was deleted
and messages just vanished into limbo.

Is this behavior desirable? Why?

How should I get around this problem?
I thought about declare queue as non auto deleting and making own 
monitoring daemon,
which could handle cleaning queues without consumers. Is there any 
simpler way of achieve my goal?

Best regards,
Ernest Staszuk


More information about the rabbitmq-discuss mailing list