Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.35 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.35 KB

Clojure code for RabbitMQ tutorials

Here you can find Clojure code examples from RabbitMQ tutorials.

Requirements

To run this code you need Leiningen.

These tutorials will work on JDK 6 through 8 (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 info

Tutorial five: Topics

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

Tutorial six: RPC

TBD

To learn more, visit Langohr documentation site.