table of contents
AMQP-DECLARE-QUEUE(1) | RabbitMQ C Client | AMQP-DECLARE-QUEUE(1) |
NAME¶
amqp-declare-queue - Declare (create or assert the existence of) a queue on an AMQP serverSYNOPSIS¶
amqp-declare-queue
[ OPTION...] [-d] {-q queue name}
DESCRIPTION¶
OPTIONS¶
-q, --queue=queue nameThe name of the queue to declare. If the empty
string is supplied, a fresh queue name is generated by the server.
-d, --durable
Causes the queue to be declared with the
"durable" flag set. Durable queues survive server restarts. By
default, queues are declared in "transient" mode.
EXIT STATUS¶
If the queue was successfully declared, the exit status is 0. If an error occurs, the exit status is 1.EXAMPLES¶
Declare the durable queue “myqueue”, and display the name of the queue on standard output:$ amqp-declare-queue -d -q myqueue myqueue
$ amqp-declare-queue -q "" amq.gen-BW/wvociA8g6LFpb1PlqOA==
SEE ALSO¶
AUTHOR¶
The RabbitMQ Team <info@rabbitmq.com>2011-01-01 | RabbitMQ C Client |