[rabbitmq-discuss] Delete a long-time-empty queue?

Sigmund Lee wuaner at gmail.com
Fri Jun 20 10:02:37 BST 2014


Hi MK,
Thanks so much for your prompt response.

My queue declaration is on the Producer side, so exclusive is probably not
a solution.

Since the deletion of auto-delete and Queue TTL is based on actual
consumption, without regard to queue's depth, so we will have the risk that
lost the messsges reside it when queue has been deleted?

Do your guys have any plane to fix this bug in the near release?



On Fri, Jun 20, 2014 at 4:37 PM, Michael Klishin <mklishin at gopivotal.com>
wrote:

> On 20 June 2014 at 12:34:26, RabbitMqUser (wuaner at gmail.com) wrote:
> > > How can I delete a queue based on time of it's empty since, other
> > that time of non-consumed?
>
> There is no way to do this at the moment. We have a bug open for that.
>
> You can try exclusive queues: they are deleted when the connection that
> declared
> them is closed. So if your consumers can detect a period of  inactivity
> and disconnect,
> it will be deleted.
> --
> MK
>
> Software Engineer, Pivotal/RabbitMQ
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140620/17a912f7/attachment.html>


More information about the rabbitmq-discuss mailing list