.. | ||
emit_log_direct.rb | ||
emit_log_topic.rb | ||
emit_log.rb | ||
new_task.rb | ||
README.md | ||
receive_logs_direct.rb | ||
receive_logs_topic.rb | ||
receive_logs.rb | ||
receive.rb | ||
send.rb | ||
worker.rb |
Ruby code for RabbitMQ tutorials
Here you can find Ruby code examples from RabbitMQ tutorials.
Requirements
To run this code you need AMQP
library version 0.8. This code shall not work with earlier versions! You can install it via RubyGems thusly:
gem install amqp --version=0.8
Code
ruby send.rb
ruby receive.rb
ruby new_task.rb
ruby worker.rb
Tutorial three: Publish/Subscribe
ruby receive_logs.rb
ruby emit_log.rb