RabbitMQ is a messaging broker that gives your applications a common platform to send and receive messages, as well as a safe place for your messages to live until received. It implements the Advanced Message Queuing Protocol (AMQP) and is written in the Erlang programming language.
Some exciting RabbitMQ features include:
- Flexible routing
- Highly Available Queues
- Management UI
- Plugin Systems
|RabbitMQ's management panel|
You can check out all of these features by simply deploying RabbitMQ with one-click on the Bitnami Launchpad for Google Cloud Platform. Click the button below to get started.
To use the admin console of RabbitMQ you have to download the rabbitmqadmin application from: http://your-server-name:15672/cli/ . Note, you will need Python 2.x, 2.6 or later.
Invoke "rabbitmqadmin --help" for usage instructions:
- list exchanges, queues, bindings, vhosts, users, permissions, connections and channels
- show overview information
- declare and delete exchanges, queues, bindings, vhosts, users and permissions
- publish and get messages
- close connections and purge queues
- import and export configuration
- This command will declare a new exchange:
$ rabbitmqadmin -H your_servername -u your_user -p your_password declare exchange name=my-new-exchange type=fanout
- This one will declare a new queue:
$ rabbitmqadmin -H your_servername -u your_user -p your_password declare queue name=my-new-queue durable=false
- And finally you can publish your first message:
$ rabbitmqadmin -H your_server_name -u your_user -p your_password publish exchange=amq.default routing_key=my-new-queue payload="hello, world"