[rabbitmq-discuss] Auto-Delete queues not getting deleted
raviv at gigya-inc.com
Sat Oct 27 15:30:19 BST 2012
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).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss