delete multiple queues rabbitmq terminal
rabbitmqadmin -f tsv -q list queues name | while read queue; do rabbitmqadmin -q delete queue name=${queue}; done
Here is what the above code is Doing:
1. We’re using the rabbitmqadmin tool to list all the queues in the RabbitMQ server.
2. We’re then iterating over each queue and deleting it.