[rabbitmq-discuss] when are auto_delete queues actually deleted?

Matthias Radestock matthias at lshift.net
Thu Nov 19 10:38:07 GMT 2009


Matthew Sackman wrote:
> On Thu, Nov 19, 2009 at 08:20:16AM +0000, Gojko Adzic wrote:
>> when are auto_delete queues actually dropped? When the client connection 
>> dies or periodically?
> 
> On connection death.

To be precise, auto_delete queues are deleted when the last consumer 
disappears. That can be triggered by three events: basic.cancel, channel 
closure, connection closure. If the queue still has other consumers then 
it will survive.

By contrast, exclusive queues get deleted unconditionally when the 
connection that created them is closed.

Regards,

Matthias.




More information about the rabbitmq-discuss mailing list