[rabbitmq-discuss] Durable queue disappears
dmitriy.samovskiy at cohesiveft.com
Thu Sep 11 16:20:13 BST 2008
Matthias Radestock wrote:
> Durable queues can be deleted like any other queue. This can happen
> explictly via queue.delete, or implicitly via auto-deletion which, as
> the name suggests, is just automatic deletion based on some triggering
Thanks for the explanation.
Just re-read the spec, like Ben suggested:
<field name="auto delete" type="bit">
auto-delete queue when unused
If set, the queue is deleted when all consumers have finished
using it. Last consumer can be cancelled either explicitly or because
its channel is closed. If there was no consumer ever on the queue, it
won't be deleted.
It was the last sentence of the <doc> that makes the difference: "If there was no consumer
ever on the queue, it won't be deleted." So technically speaking, this field is not
"auto-delete queue when unused" but "auto-delete queue when no longer used."
More information about the rabbitmq-discuss