amqp-delete-queue - Man Page
Delete a queue from an AMQP server
Synopsis
amqp-delete-queue [OPTION...] {-q queue name}
Description
amqp-delete-queue deletes a queue from an AMQP server, and exits after printing to standard output the number of messages that were in the queue at the time of its deletion.
Options
- -q, --queue=queue name
The name of the queue to delete.
Exit Status
If the queue was successfully deleted, the exit status is 0. If an error occurs, the exit status is 1.
Examples
Delete the queue “myqueue” at a moment when it has 123 messages waiting on it:
$ amqp-delete-queue -q myqueue 123
See Also
librabbitmq-tools(7) describes connection-related options common to all the RabbitMQ C Client tools.
Author
The RabbitMQ Team <<info@rabbitmq.com>>
Referenced By
2024-07-18 RabbitMQ C Client