AMQP-DELETE-QUEUE(1)
β¨ NAME β¨
amqp-delete-queue β bestie, this is the little tool that deletes a queue from an AMQP server. bye queue π (it's from the RabbitMQ C Client, iykyk)
πΈ SYNOPSIS πΈ
amqp-delete-queue [OPTION...] {-q queue name}
π¦ DESCRIPTION π¦
okay so amqp-delete-queue deletes a queue from an AMQP server. that's the whole job. main character behavior, honestly π
and then β this is the fun part β it exits after printing to standard output the number of messages that were in the queue at the time of its deletion. so it's not just a goodbye, it's a goodbye with receipts. you get to know exactly how many messages were sitting in there waiting when you pulled the plug πβ¨
π OPTIONS π
-q,--queue=queue name β the name of the queue to delete. that's it, that's the one required thing. no queue name, no deletion, no slay π«Ά
π EXIT STATUS π
- If the queue was successfully deleted, the exit status is
0. ate, no crumbs β¨ - If an error occurs, the exit status is
1. not the vibe π
π EXAMPLES π
Delete the queue βmyqueueβ at a moment when it has 123 messages waiting on it:
$ amqp-delete-queue -q myqueue
123
see that 123? that's the count of messages that were chillin' in there right before it got deleted. iconic. rip myqueue πͺ¦π
π§ SEE ALSO π§
librabbitmq-tools(7) describes connection-related options common to all the RabbitMQ C Client tools. fr fr go read it, the connection stuff lives there π
β AUTHOR β
The RabbitMQ Team <info@rabbitmq.com> π
RabbitMQ C Client Β· 2026-10-13 β and that's the whole page bestie, mwah, go delete some queues responsibly πππ¦
π¦ where this page comes from
- fedora 43: librabbitmq-tools 0.18.1-1.fc43 Β· MIT
- fedora 44: librabbitmq-tools 0.18.1-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms