Created
April 4, 2018 15:46
-
-
Save fabienhinault/625f878c0a8d1a275d6de382f48705e2 to your computer and use it in GitHub Desktop.
rabbitmq general purge
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
| curl 'http://localhost:15672/api/queues' | jq '.[].name' | xargs -I{} curl -X DELETE 'http://localhost:15672/api/queues/%2F/{}/contents' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment