AMQP-DELETE-QUEUE(1) - Linux manual page online | User commands
Delete a queue from an AMQP server.
amqp-delete-queue(1) General Commands Manual amqp-delete-queue(1)
amqp-delete-queue — Delete a queue from an AMQP server
amqp-delete-queue OPTION -q queue
amqp-delete-queue deletes a queue from an AMQP server, and exits after printing to stan‐
dard output the number of messages that were in the queue at the time of its deletion.
The name of the queue to delete.
If the queue was successfully deleted, the exit status is 0. If an error occurs, the exit
status is 1.
queue ``myqueue'' at a moment when it has 123 messages waiting on
amqp-delete-queue -q myqueue
librabbitmq-tools(7) describes connection-related options common to all the
RabbitMQ C Client tools.