java - rabbitmq (AMQP): delete all messages from a queue -


there questions mine on so, purge method not suitable me. amqp docs:

purge queue. method removes messages queue are not awaiting acknowledgment.

what if want delete all messages if waiting acks? there solution?

thanks in advance!

afaik, can't delete unacked messages. can them in ready state basic.recover() or killing connection responsible unacked messages. after can purge queue.


Comments

Popular posts from this blog

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -