Commit d8f10c0
lib/1-hello/README.md
@@ -0,0 +1,26 @@
+# Hello World
+
+This example is from the
+[introduction](http://www.rabbitmq.com/tutorials/tutorial-one-ruby.html)
+tutorial.
+
+In this example the sender is publishing a message to the default
+exchange to a queue named "hello".
+
+The receiver is subscribing to all messages from the "hello" queue and
+writing the body to the shell.
+
+To send a message:
+
+```bash
+λ ruby lib/1-hello/send.rb
+ [x] Send 'hi'
+```
+
+To dequeue the message from the queue:
+
+```bash
+λ ruby lib/1-hello/receive.rb
+ [\*] Waiting for messages in hello. To exit press CTRL+C
+ [x] Received hi
+```
README.md
@@ -0,0 +1,6 @@
+## RabbitMQ Examples
+
+This repository contains the example code from the RabbitMQ [getting
+started tutorials](http://www.rabbitmq.com/getstarted.html).
+
+More information can be found in this [post](http://www.mokhan.ca/tools/2014/10/10/rabbitmq.html).