[rabbitmq-discuss] pika - dealing with exceptions

Matthias Radestock matthias at rabbitmq.com
Tue Jan 25 11:51:40 GMT 2011


On 25/01/11 11:45, Michael Klishin wrote:
> 2011/1/25 Matthias Radestock <matthias at rabbitmq.com
>     Publish operations do not fail just because a queue doesn't exist
>
>
> Right, because exclusive queue is deleted soon after last consumer
> disconnects.
> If responses may take some time in a particular app and client
> disconnection is probable,
> maybe using auto-deleted queues is not such a good idea.

What should happen to the responses when the intended recipient is no 
longer there? Usually discarding them is the right thing to do. Which is 
exactly what will happen when the reply queue disappears. Btw, it's 
*exclusive* queues you want for reply queues, not auto-delete.

Matthias.


More information about the rabbitmq-discuss mailing list