.. | ||
emit_log_direct.py | ||
emit_log_topic.py | ||
emit_log.py | ||
new_task.py | ||
README.md | ||
receive_logs_direct.py | ||
receive_logs_topic.py | ||
receive_logs.py | ||
receive.py | ||
rpc_client.py | ||
rpc_server.py | ||
send.py | ||
worker.py |
Python code for RabbitMQ tutorials
Here you can find Python code examples from RabbitMQ tutorials.
Requirements
To run this code you need pika
library version 0.9.5. To install it run
pip install -e git+http://github.com/pika/pika.git@v0.9.5#egg=pika-v0.9.5
You may first need to run
easy_install pip
Code
python send.py
python receive.py
python new_task.py
python worker.py
Tutorial three: Publish/Subscribe
python receive_logs.py
python emit_log.py
python receive_logs_direct.py
python emit_log_direct.py
python receive_logs_topic.py
python emit_log_topic.py
python rpc_server.py
python rpc_client.py