Created
May 20, 2015 14:38
-
-
Save samchrisinger/b1171abef9c89e2b14c2 to your computer and use it in GitHub Desktop.
Flush rabbitmq queues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# from http://davidsj.co.uk/blog/delete-queues-in-rabbitmq/ | |
for queue in `rabbitmqadmin -f bash list queues`; do echo $queue `rabbitmqadmin delete queue name=$queue`; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment