[rabbitmq-discuss] of queues, memory and heartbeats...
Matthias Radestock
matthias at lshift.net
Tue Sep 1 09:53:50 BST 2009
Anthony,
Ben Hood wrote:
> There are heartbeats as part of the protocol, but would only propagate
> a connection getting killed. This *may* kill queues, for example if
> they are not marked as durable.
Durability settings only affect what happens to a queue when the *server
restarts*.
OTOH, if you mark queues as exclusive then they *will* be removed when
the connection dies. Similarly, if the queue is marked as auto-delete
and its only remaining consumers were on the dying connection.
From your description it sounds like exclusive queues are exactly what
you want. Their lifetime is tied to that of the creating connection.
Regards,
Matthias.
More information about the rabbitmq-discuss
mailing list