[rabbitmq-discuss] How remove messages which must be ack

cw storm cwstorm at gmail.com
Thu Jan 30 15:13:07 GMT 2014


Hi MK,

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
> (delete
> > 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
> should
> > work as previously. The main problem is, that Purge method does not
> delete
> > 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.
>
> MK
>
> Software Engineer, Pivotal/RabbitMQ
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140130/d706d882/attachment.html>


More information about the rabbitmq-discuss mailing list