1AMQP-DELETE-QUEUE(1) RabbitMQ C Client AMQP-DELETE-QUEUE(1)
2
3
4
6 amqp-delete-queue - Delete a queue from an AMQP server
7
9 amqp-delete-queue [OPTION...] {-q queue name}
10
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
17 -q, --queue=queue name
18 The name of the queue to delete.
19
21 If the queue was successfully deleted, the exit status is 0. If an
22 error occurs, the exit status is 1.
23
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
32 librabbitmq-tools(7) describes connection-related options common to all
33 the RabbitMQ C Client tools.
34
36 The RabbitMQ Team <<info@rabbitmq.com>>
37
38
39
40RabbitMQ C Client 2020-08-13 AMQP-DELETE-QUEUE(1)