[rabbitmq-discuss] Exchange disappear

Rosa, Andrea andrea.rosa at hp.com
Thu Nov 24 17:34:47 GMT 2011


Excellent!
Thanks for your time you give me a really big help....now it's up to me to understand how I can reproduce the problem.
Thanks again!

--
Andrea

> -----Original Message-----
> From: Marek Majkowski [mailto:majek04 at gmail.com]
> Sent: 24 November 2011 17:31
> To: Rosa, Andrea
> Cc: rabbitmq-discuss at lists.rabbitmq.com
> Subject: Re: [rabbitmq-discuss] Exchange disappear
> 
> On Thu, Nov 24, 2011 at 17:24, Rosa, Andrea <andrea.rosa at hp.com> wrote:
> >> IE: "channel error" is almost always caused by application doing
> >> AMQP things its not supposed to do.
> >
> > So in my case the "thing not allowed" is trying to publish a message
> using a non existing exchange.
> 
> Correct.
> 
> Publishing a message to a non existing exchange is invalid and will
> result in a channel error.
> 
> >> Well, in such case on `unbind` (or when queues are deleted or auto-
> >> deleted)
> >> the exchange will be removed and any subsequent publishes will fail
> >> with "channel errors".
> >
> >
> > In my case the publishing process creates an exchange on the broker,
> before sending/publishing a message.
> > Thank you so much for your help!
> 
> As you're using `auto_delete` exchanges, it is theoretically possible
> that in a time
> after the exchange was created and between you published a message
> some other queue was bound and unbound to/from that exchange.
> 
> If that happens, the exchange will be removed before you do publish.
> And subsequent publish will fail, as the exchange won't be there.
> 
> Marek


More information about the rabbitmq-discuss mailing list