[rabbitmq-discuss] Notification on Queue Shutdown

Matthew Sackman matthew at rabbitmq.com
Thu Feb 24 18:07:44 GMT 2011


On Thu, Feb 24, 2011 at 11:26:55AM -0500, Max Bridgewater wrote:
> Thanks. This is cool. I look forward to it. Allow me to ask another
> question. When I declare an auto delete channel, is there a guarantee
> that it will be up until the first consumer joins? That is, if the
> first consumer joins after 10 hours, will the channel still be there?

No. Someone else could come along and delete the queue in the meantime.
Provided no one deletes it and the node on which the queue resides
doesn't die, then yes, it'll still be there, but that's the same for all
queues (well, exclusive queues will disappear if the connection that
created the queue disappears, but you get the picture).

Matthew


More information about the rabbitmq-discuss mailing list