Deleting RabbitMQ Queues

July 4, 2010

There's no support on RabbitMQ's command line (rabbitmqctl) for deleting queues. This can be achieved using amqp-utils, a ruby gem.

To install on Fedora 11:

# yum install ruby ruby-devel rubygems
# gem install amqp-utils

You can then list queues with

rabbitmqctl list_queues

and delete with:

amqp-deleteq queue_to_delete other_queue_to_delete