Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
My version of the RabbitMQ tutorial code in clojure using wabbitmq
Clojure
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/tutorial
test/tutorial/test
.gitignore
README
project.clj

README

I ported the first 5 examples from:

 http://www.rabbitmq.com/getstarted.html

into clojure using the WabbitMQ library:

 https://github.com/mefesto/wabbitmq
 
to help me understand how to interact with RabbitMQ using clojure.
I wrote a main function to make it a little easier to interact with the samples.
Here is what lein run --help produces:

An interface to all of the RabbintMQ tutorials I converted to clojure
Options
  --tut <arg>   which toturial to run. (hello, work, publish, route, topics) 
  --role <arg>  which role to play consumer or producer (c,p)                

If I wanted to run the producer for the first sample I would start it like so:

lein run --tut hello --role p

and the consumer would be:

lein run --tut hello --role c

I read the tutorials and worked on the clojure code while I read the tutorails
while I worked on each of these examples.  The tutorials write ups were very
helpful. Check them out yourself  http://www.rabbitmq.com/getstarted.html 

Something went wrong with that request. Please try again.