I can easily delete queues, like this:
rabbitmqadmin delete queue name='MyQ'
However, I cannot find a way to delete exchanges. What am I missing?
A queue can be deleted from the RabbitMQ Management Interface. Enter the queue tab and go to the bottom of the page. You will find a dropdown "Delete / Purge". Press Delete to the left to delete the queue.
With RabbitMQ cleaning up, the broker is usually very simple. You can use the built-in RabbitMQ Management Console (rabbitmqctl) and issue the following commands: Attention: This not only cleans the queue, it actually deletes them. Read more about the command line tool for managing a RabbitMQ broker here.
The web-based UI can be used via the RabbitMQ Management Interface, a queue policy can be added or a script can be used via rabbitmqadmin or HTTP API curl. A script or a queue policy is recommended to delete multiple queues.
Following are the features of the RabbitMQ message queuing system: Open-source: RabbitMQ was created as an open-source project by Cohesive FT, LShift, and LTD. Pivotal Software Inc. owns it, and it is distributed under the Mozilla Public License.
➜
./rabbitmqadmin delete exchange name='myexchange'
exchange deleted
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With