[rabbitmq-discuss] RabbitMQ - how do I delete all messages from a single queue

Matthew Sackman matthew at rabbitmq.com
Tue Mar 15 14:18:57 GMT 2011


On Tue, Mar 15, 2011 at 04:16:51PM +0200, mysurf mail wrote:
> maybe it is a beginners question, but I have a queue and i would like to
> clean it before I start each time.
> How do I delete all messages from it?

queue.purge removes all messages from a queue which are not pending
acknowledgement.

Matthew


More information about the rabbitmq-discuss mailing list