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
Post a Comment