EnglishFrenchSpanish

OnWorks favicon

amqp-get - Online in the Cloud

Run amqp-get in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command amqp-get that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


amqp-get — Get a message from a queue on an AMQP server

SYNOPSIS


amqp-get OPTION -q queue name

Description


amqp-get attempts to consume a single message from a queue on an AMQP server, and exits.
Unless the queue was empty, the body of the resulting message is sent to standard output.

Options


-q

--queue=queue name
The 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:" 10

$
amqp-get -q myqueue

See also


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

amqp-get(1)

Use amqp-get online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad