RABBITMQ-SERVER(1) RabbitMQ Server RABBITMQ-SERVER(1)NAME
rabbitmq-server - start RabbitMQ AMQP server
SYNOPSIS
rabbitmq-server [-detached]
DESCRIPTION
RabbitMQ is an implementation of AMQP, the emerging standard for high performance enterprise messaging. The RabbitMQ server is a robust and
scalable implementation of an AMQP broker.
Running rabbitmq-server in the foreground displays a banner message, and reports on progress in the startup sequence, concluding with the
message "broker running", indicating that the RabbitMQ broker has been started successfully. To shut down the server, just terminate the
process or use rabbitmqctl(1).
ENVIRONMENT
RABBITMQ_MNESIA_BASE
Defaults to /var/lib/rabbitmq/mnesia. Set this to the directory where Mnesia database files should be placed.
RABBITMQ_LOG_BASE
Defaults to /var/log/rabbitmq. Log files generated by the server will be placed in this directory.
RABBITMQ_NODENAME
Defaults to rabbit. This can be useful if you want to run more than one node per machine - RABBITMQ_NODENAME should be unique per
erlang-node-and-machine combination. See the clustering on a single machine guide[1] for details.
RABBITMQ_NODE_IP_ADDRESS
By default RabbitMQ will bind to all interfaces, on IPv4 and IPv6 if available. Set this if you only want to bind to one network
interface or address family.
RABBITMQ_NODE_PORT
Defaults to 5672.
OPTIONS -detached
start the server process in the background
SEE ALSO rabbitmq-env.conf(5)rabbitmqctl(1)EXAMPLES
rabbitmq-server -detached
Runs RabbitMQ AMQP server in the background.
AUTHOR
The RabbitMQ Team <info@rabbitmq.com>
NOTES
1. clustering on a single machine guide
http://www.rabbitmq.com/clustering.html#single-machine
RabbitMQ Server 06/22/2012 RABBITMQ-SERVER(1)
Check Out this Related Man Page
AMQP-PUBLISH(1) RabbitMQ C Client AMQP-PUBLISH(1)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:
$ 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:
$ 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.
AUTHOR
The RabbitMQ Team <info@rabbitmq.com>
RabbitMQ C Client 2011-01-01 AMQP-PUBLISH(1)