Here you can find Ruby code examples from RabbitMQ tutorials.
These tutorials require Bunny to be installed.
To install it with RubyGems:
gem install bunny --version ">= 2.10.0"
Bunny supports Ruby 2.2 and later versions.
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
ruby receive_logs_direct.rb
ruby emit_log_direct.rb
ruby receive_logs_topic.rb
ruby emit_log_topic.rb
ruby rpc_server.rb
ruby rpc_client.rb
To learn more, visit Bunny documentation site.