[rabbitmq-discuss] How remove messages which must be ack
cwstorm at gmail.com
Thu Jan 30 15:13:07 GMT 2014
Couldn't something be configured on the queue that if the message is in
"unack" status for certain amount of time, it can be requeue or that
connection could be automatically closed?
On Fri, Jan 17, 2014 at 9:19 AM, Michael Klishin <mklishin at gopivotal.com>wrote:
> On 17 Jan 2014, at 18:10, rabbit15 <bison_art at o2.pl> wrote:
> > There is existing, working Rabbit environment with queues, exchanges,
> > producers and consumers working. What I need is to clear every queue
> > ack'ed and unack'ed messages). I have no acces to existing consumers
> > objects, hovewer i could create new one just for this purpose. Current
> > consumers should be not disturbed and after clear, whole environment
> > work as previously. The main problem is, that Purge method does not
> > messages, which awaits for acknowledments. I want to be sure, that EVERY
> > message is already deleted.
> > Is there any way to perform such operation?
> You cannot remove messages that are unacknowledged.
> You can forcefully close their connections, which will cause messages to
> be requeued,
> the purge the queue.
> Software Engineer, Pivotal/RabbitMQ
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss