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

Gojko Adzic gojko-yahoolist at gojko.com
Thu Nov 19 10:54:05 GMT 2009


so this is a bug then?

-bash-3.2# rabbitmqctl list_queues name auto_delete consumers | grep 0$
amq.gen-v6OnaGmZrKj3vDNWy3B0pA==        true    0
amq.gen-meDIMMmWVzZlgNIYmWySJg==        true    0
amq.gen-+kWwe8PtGrO/4AtsqwzqJg==        true    0
amq.gen-0vOWLk96SDEWD6rcLG9H1A==        true    0
amq.gen-FFEHkUo6lzYTmvXXt2evSg==        true    0
amq.gen-Z8Ob8BZDJFBNPXoN7oyV4g==        true    0
amq.gen-1d9lXsBZwiTM/tVG3cUcug==        true    0
amq.gen-OyEzVIng+Z8LgXaF/sXTlA==        true    0
amq.gen-Vl3QAu0kbw+WJYZJSrsq3g==        true    0
amq.gen-ayBsF3TVUrB/gziaeFd6gg==        true    0
amq.gen-hSiCo7cXHduxIWhKm+/6UA==        true    0
amq.gen-EzUDC0tIlDbS7lmSgiNxAQ==        true    0
amq.gen-dZHzHom4n7Az7yZDdjhuQA==        true    0
amq.gen-6Le+Ex6JhIpR32JOCSbPEQ==        true    0

gojko

Matthias Radestock wrote:
> 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.
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 





More information about the rabbitmq-discuss mailing list