I installed rabbitmqadmin and was able to list all the exchanges and queues. How can I use rabbitmqadmin or rabbitmqctl to delete all the queues.
I installed rabbitmqadmin and was able to list all the exchanges and queues. How
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, list your queues:
rabbitmqadmin list queues nameThen from the list, you’ll need to manually delete them one by one:
rabbitmqadmin delete queue name='queuename'Because of the output format, doesn’t appear you can grep the response from
list queues. Alternatively, if you’re just looking for a way to clear everything (read: reset all settings, returning the installation to a default state), use: