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

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

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -