Skip to content

My version of the RabbitMQ tutorial code in clojure using wabbitmq

Notifications You must be signed in to change notification settings

lincpa/rabbitmq-tutorial-clojure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 

About

My version of the RabbitMQ tutorial code in clojure using wabbitmq

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published