GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — rabbitmq-tutorials/ruby at master · rohochan/rabbitmq-tutorials

Expand file tree

/

ruby

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

ruby

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
emit_log.rb
emit_log.rb
 
 
emit_log_direct.rb
emit_log_direct.rb
 
 
emit_log_topic.rb
emit_log_topic.rb
 
 
new_task.rb
new_task.rb
 
 
receive.rb
receive.rb
 
 
receive_logs.rb
receive_logs.rb
 
 
receive_logs_direct.rb
receive_logs_direct.rb
 
 
receive_logs_topic.rb
receive_logs_topic.rb
 
 
rpc_client.rb
rpc_client.rb
 
 
rpc_server.rb
rpc_server.rb
 
 
send.rb
send.rb
 
 
worker.rb
worker.rb
 
 

README.md

Outline

Ruby code for RabbitMQ tutorials

Here you can find Ruby code examples from RabbitMQ tutorials.

Requirements

To run this code you need Bunny.

You can install it via RubyGems:

gem install bunny --version ">= 2.5.1"

Bunny supports Ruby 2.0 and later versions.

Code

Tutorial one: "Hello World!":

ruby send.rb
ruby receive.rb

Tutorial two: Work Queues:

ruby new_task.rb
ruby worker.rb

Tutorial three: Publish/Subscribe

ruby receive_logs.rb
ruby emit_log.rb

Tutorial four: Routing

ruby receive_logs_direct.rb
ruby emit_log_direct.rb

Tutorial five: Topics

ruby receive_logs_topic.rb
ruby emit_log_topic.rb

Tutorial six: RPC

ruby rpc_server.rb
ruby rpc_client.rb

To learn more, visit Bunny documentation site.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.