table of contents
| AMQP-GET(1) | RabbitMQ C Client | AMQP-GET(1) | 
NAME¶
amqp-get - Get a message from a queue on an AMQP serverSYNOPSIS¶
amqp-get
  [ OPTION...] {-q queue name}
DESCRIPTION¶
OPTIONS¶
-q, --queue=queue nameThe name of the queue to consume messages
  from.
EXIT STATUS¶
If the queue is not empty, and a message is successfully retrieved, the exit status is 0. If an error occurs, the exit status is 1. If the queue is found to be empty, the exit status is 2.EXAMPLES¶
Get a message from the queue “myqueue”, and display its body on standard output:$ amqp-get -q myqueue
SEE ALSO¶
AUTHOR¶
The RabbitMQ Team <info@rabbitmq.com>| 2011-01-01 | RabbitMQ C Client |