logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

amqp-delete-queue - Delete a queue from an AMQP server

Author

TheRabbitMQTeam<<info@rabbitmq.com>>

RabbitMQ C Client                                  2024-11-22                               AMQP-DELETE-QUEUE(1)

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.

Examples

       Delete the queue “myqueue” at a moment when it has 123 messages waiting on it:

               $ amqp-delete-queue-qmyqueue
               123

Exit Status

       If the queue was successfully deleted, the exit status is 0. If an error occurs, the exit status is 1.

Name

       amqp-delete-queue - Delete a queue from an AMQP server

Options

-q, --queue=queuename
           The name of the queue to delete.

See Also

librabbitmq-tools(7) describes connection-related options common to all the RabbitMQ C Client tools.

Synopsis

amqp-delete-queue [OPTION...] {-q queuename}

See Also