Created
November 21, 2013 22:04
-
-
Save mjallday/7590598 to your computer and use it in GitHub Desktop.
purge all rabbitmq queues
This file contains 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
rabbitmqadmin list queues | cut -d '|' -f 3 | grep -v \+ | xargs -n1 -I@ rabbitmqadmin purge queue name=@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I guess my rabbitmqadmin version is different, the following did it for me: