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

Michael Klishin mklishin at gopivotal.com
Fri Jun 20 09:37:26 BST 2014

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.

Software Engineer, Pivotal/RabbitMQ

More information about the rabbitmq-discuss mailing list