Created
July 15, 2018 09:39
-
-
Save omerbn/5b761828a7b472708fb968f8865be905 to your computer and use it in GitHub Desktop.
RabbitMQ 3.7.2: purging all queues (linux)
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
rabbitmqctl list_queues | sed -n '1,2!p' |while read queue; do rabbitmqctl purge_queue "${queue}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment