EnglishFrenchSpanish

Ad


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
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad