Skip to content

Latest commit

 

History

History
 
 

clojure

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Clojure code for RabbitMQ tutorials

Here you can find Clojure code examples from RabbitMQ tutorials.

Requirements

To run this code you need Langohr.

Dependencies are managed by Leiningen.

These tutorials only require JDK 6 or 7 (Oracle or OpenJDK).

Code

Code examples are executed via lein run:

Tutorial one: "Hello World!":

lein run -m rabbitmq.tutorials.send
lein run -m rabbitmq.tutorials.receive

Tutorial two: Work Queues:

lein run -m rabbitmq.tutorials.new-task
lein run -m rabbitmq.tutorials.worker

Tutorial three: Publish/Subscribe

lein run -m rabbitmq.tutorials.receive-logs
lein run -m rabbitmq.tutorials.emit-log

Tutorial four: Routing

lein run -m rabbitmq.tutorials.receive-logs-direct
lein run -m rabbitmq.tutorials.emit-log-direct

Tutorial five: Topics

lein run -m rabbitmq.tutorials.receive-logs-topic
lein run -m rabbitmq.tutorials.emit-log-topic

Tutorial six: RPC

TBD

To learn more, visit Langohr documentation site.