[rabbitmq-discuss] autodelete exchanges and queues

PADIOU Pierre-Marie (MORPHO) pierre-marie.padiou at morpho.com
Wed Oct 5 18:04:21 BST 2011


Hello,

I am wondering what is the life cycle of autodelete exchanges and queues.

What if :

1)      Channel A declares an autodelete exchange

2)      Channel B declares the same autodelete exchange (passive=false)

3)      Channel A disconnects

4)      Channel B disconnects

I was under the impression that rabbitmq would delete the exchange between step 3) and 4) (which I btw do not find very logical), no matter if B was still alive. Is that true? What about queues?

In other words, autodelete = "delete when last declaring-channel leaves" OR "delete when first-declaring-channel leaves"?

Thanks,

Pierre-Marie
#
" Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111005/27422ed6/attachment.htm>


More information about the rabbitmq-discuss mailing list