1AMQP-DELETE-QUEUE(1)           RabbitMQ C Client          AMQP-DELETE-QUEUE(1)
2
3
4

NAME

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

SYNOPSIS

9       amqp-delete-queue [OPTION...] {-q queue name}
10

DESCRIPTION

12       amqp-delete-queue deletes a queue from an AMQP server, and exits after
13       printing to standard output the number of messages that were in the
14       queue at the time of its deletion.
15

OPTIONS

17       -q, --queue=queue name
18           The name of the queue to delete.
19

EXIT STATUS

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

EXAMPLES

25       Delete the queue “myqueue” at a moment when it has 123 messages waiting
26       on it:
27
28               $ amqp-delete-queue -q myqueue
29               123
30

SEE ALSO

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

AUTHOR

36       The RabbitMQ Team <<info@rabbitmq.com>>
37
38
39
40RabbitMQ C Client                 2022-01-20              AMQP-DELETE-QUEUE(1)
Impressum