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

Simon MacMullen simon at rabbitmq.com
Tue Mar 15 14:19:35 GMT 2011


On 15/03/11 14:16, 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?

See queue.purge:

http://www.rabbitmq.com/amqp-0-9-1-quickref.html#queue.purge

Cheers, Simon

-- 
Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware



More information about the rabbitmq-discuss mailing list