How do I delete all messages from a single queue using the CLI?
How do I delete all messages from a single queue using the cli? I have the queue name and I want to clean it.
you can directly run this command
sudo rabbitmqctl purge_queue queue_name
rabbitmqadmin is the perfect tool for this
rabbitmqadmin purge queue name=name_of_the_queue_to_be_purged