[rabbitmq-discuss] RabbitMQ queue durability question
Emile Joubert
emile at rabbitmq.com
Tue Sep 3 09:50:58 BST 2013
Hi Jan,
On 03/09/13 08:59, Jan Jacobs wrote:
> A queue is created by the server or the client
Are you sure the server and client declare a queue with the same attributes?
> If the client and the server is active and the broker restarts then the
> broker change the queue durability to |durable|: true and it survives
> the restart.
That is not possible, because the non-durable queue is not present on
startup. The broker can't change the queue durability, and neither can a
client. A queue must be deleted before the durability or any other
attribute can be changed.
A possible explanation is that the server and client don't create the
queue with the same attributes, and you see different behaviour
depending on which one gets to declare the queue.
-Emile
More information about the rabbitmq-discuss
mailing list