- Python 2.6 or newer
- Pika
- The examples where tested with PHP 5.3
- php-amqplib
- Ruby 1.8.7 or 1.9.2. JRuby and Rubinius are supported.
- amqp gem 0.8.0.RC12 or later. See Getting Started Guide for installation instructions.
Requirements:
- RabbitMQ server (2.6.1 or later) running on localhost.
- RabbitMQ user needed:
- Username: alert_user
- Password: alertme
- Permissions: read,write,config
Running the Consumer: python 3.2.2_alert_consumer.py
Running the Producer: python 3.2.2_alert_producer.py -r ROUTING_KEY -m MESSAGE
Requirements:
- RabbitMQ server (2.6.1 or later) running on localhost.
- RabbitMQ user needed:
- Username: rpc_user
- Password: rpcme
- Permissions: read,write,config
Running the Server: python 3.3.3_rpc_server.py Running the Client: python 3.3.3_rpc_server.py
- RabbitMQ server (2.6.1 or later) running on localhost.
- RabbitMQ user needed:
- Username: guest
- Password: guest
To run the PHP scripts simply do:
php script_name.php
- RabbitMQ server (2.6.1 or later) running on localhost.
- RabbitMQ user needed:
- Username: guest
- Password: guest
To run examples do
ruby chapter-1/hello_world_consumer.rb
and so on. Or, if you use Bundler
bundle exec ruby chapter-1/hello_world_consumer.rb
BY CONTRIBUTING TO THE RABBITMQ IN ACTION SOURCE CODE REPOSITORY YOU AGREE TO LICENSE YOUR CONTRIBUTION UNDER THE TERMS OF THE BSD LICENSE AS SPECIFIED IN THE 'LICENSE.md' FILE IN THIS DIRECTORY.