[rabbitmq-discuss] Execution hangs when redeclaring queue

Henrik Abrahamsson henrik at beepsend.se
Wed Dec 22 17:05:05 GMT 2010


2010/12/22 Matthew Sackman <matthew at rabbitmq.com>

> On Wed, Dec 22, 2010 at 05:42:12PM +0100, Henrik Abrahamsson wrote:
> > My failover mechanism for my listener works like this: when connection to
> > node1 goes down, connect to node2 and redeclare the queue q.
>
> That cannot be done. It should be returning a 404 error and closing the
> channel or maybe even the connection... unless the queue is not durable.
> If the queue is not declared durable, you should be ok.
>

It is a non-durable queue.

/Henrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20101222/1cb050c6/attachment.htm>


More information about the rabbitmq-discuss mailing list