Deleting Queues In RabbitMQ at the Command Line

This is a straight-to-the-point blog post by David Steven-Jennings describing how to delete RabbitMQ Queues at the Command Line. It culminates in this bash command to delete all queues:

for queue in `rabbitmqadmin -f bash list queues`; 
   do echo $queue `rabbitmqadmin delete queue name=$queue`; 

I made a bash alias called mqdelqs for it. Awesome efficiency!

Posted April 26, 2017 01:49 PM EDT

More Like This Post