[rabbitmq-discuss] Auto-Delete queues not getting deleted
Raviv Pavel
raviv at gigya-inc.com
Sat Oct 27 15:30:19 BST 2012
Thanks Matthias.
Queue TTL was exactly what I needed.
On Friday, October 26, 2012 9:47:12 AM UTC+2, Matthias Radestock wrote:
>
> On 26/10/12 07:28, Raviv Pavel wrote:
> > I find this behavior is problematic
>
> AMQP/Rabbit could hardly do anything different - if the sole condition
> for auto-deletion was that there are no consumers then the queue would
> get deleted straight after creation, before you've had a chance to
> attach any consumers.
>
> > If I create an auto-delete queue (by code) and then crash before
> > consuming, the queue will be stuck there until I delete it.
>
> Couldn't you make the queue 'exclusive' instead of 'auto-delete'?
>
> Or, alternatively, set a lease (http://www.rabbitmq.com/ttl.html#queue-ttl).
>
>
> Regards,
>
> Matthias.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121027/b5c9419b/attachment-0001.htm>
More information about the rabbitmq-discuss
mailing list