EnglishFrenchSpanish

OnWorks favicon

amqp-publish - Online in the Cloud

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

This is the command amqp-publish 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-publish — Publish a message on an AMQP server

SYNOPSIS


amqp-publish OPTION

Description


Publishes a message to an exchange on an AMQP server. Options allow the various
properties of the message and parameters of the AMQP basic.publish method to
be specified.

By default, the message body is read from standard input. Alternatively, the -b option
allows the message body to be provided as part of the command.

Options


-e

--exchange=exchange name
The name of the exchange to publish to. If omitted, the default exchange (also
known as the nameless exchange) is used.

-r

--routing-key=routing key
The routing key to publish with. If omitted, an empty routing key is assumed.
A routing key must be specified when publishing to the default exchange; in that
case, accoding to the AMQP specification, the routing key corresponds to a queue
name.

-p

--persistent
Use the persistent delivery mode. Without this option, non-persistent delivery
is used.

-C

--content-type=MIME type
Specifies the content-type property for the message. If omitted, the content-
type property is not set on the message.

-E

--content-encoding=content coding
Specifies the content-encoding property for the message. If omitted, the
content-encoding property is not set on the message.

-b

--body=message body
Specifies the message body. If omitted, the message body is read from standard
input.

Examples


Send a short message, consisting of the word
``Hello'' to the queue ``myqueue'' via the default exchange:" 10

$
amqp-publish -r myqueue -b Hello

Send some XML data from a file to the exchange
``events'', with persistent delivery mode, setting the content-type property on the
message to make the data format explicit:" 10

$
amqp-publish -e events -p -C text/xml event.xml

See also


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

amqp-publish(1)

Use amqp-publish online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 2
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 3
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 4
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 5
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 6
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • More »

Linux commands

  • 1
    4ti2-circuits
    4ti2-circuits
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-circuits
  • 2
    4ti2-genmodel
    4ti2-genmodel
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-genmodel
  • 3
    coriander
    coriander
    coriander - control and display dc1394
    camera images ...
    Run coriander
  • 4
    corkscrew
    corkscrew
    corkscrew - Tunnel TCP connections
    through HTTP proxies ...
    Run corkscrew
  • 5
    g.gisenvgrass
    g.gisenvgrass
    g.gisenv - Outputs and modifies the
    user�s current GRASS variable settings.
    Prints all defined GRASS variables if no
    option is given. KEYWORDS: general,
    settin...
    Run g.gisenvgrass
  • 6
    g.guigrass
    g.guigrass
    g.gui - Launches a GRASS graphical user
    interface (GUI) session. Optionally
    updates default user interface settings.
    KEYWORDS: general, GUI, user interface ...
    Run g.guigrass
  • More »

Ad