Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A small, feature complete Clojure client for RabbitMQ that embraces AMQP 0.9.1 model
Clojure Java Shell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Langohr, a feature-rich Clojure RabbitMQ client

Langohr is a Clojure RabbitMQ client that embraces AMQP 0.9.1 Model.

Project Goals

  • Embrace AMQP 0.9.1 Model. Follow Java client's API conventions instead of inventing new overly opinionated ones
  • Be well documented. Use Ruby amqp gem guides as a foundation.
  • Be well tested.
  • Error handling and recovery should be well covered
  • Support all of the RabbitMQ features, include extensions to AMQP 0.9.1.

We've learned a lot from ~ 4 years history of the Ruby amqp gem and Bunny development and try to apply this experience to Langohr design.

Project Anti-Goals

Here is what Langohr does not try to be:

  • A replacement for the RabbitMQ Java client
  • Sugar-coated API for task queues that hides all the AMQP machinery from the developer
  • A port of Ruby amqp gem to Clojure


Langohr artifacts are released to Clojars. If you are using Maven, add the following repository definition to your pom.xml:


The Most Recent Release

With Leiningen:

[com.novemberain/langohr "1.0.1"]

With Maven:


Documentation & Examples

If you are only starting out, please see our Getting Started guide.

Documentation guides are incomplete but most of the content is there:

The rest of the guides will be written eventually.

API Reference

For existing users, there is API reference.

Code Examples

Several code examples used in the guides are kept in a separate Git repository.

Our test suite also can be used for code examples.

Supported Clojure Versions

Langohr is built from the ground up for Clojure 1.3+. The most recent stable release is highly recommended.

Supported RabbitMQ Versions

Langohr depends on RabbitMQ Java client 3.0.x and thus should work with RabbitMQ versions 2.0 and later.

Project Maturity

Langohr has been around since 2011 and is now a 1.0 project.

There are some improvements planned in 1.1 but overall, Langohr is a battle tested library.


Langohr has a mailing list. Feel free to join it and ask any questions you may have.

To subscribe for announcements of releases, important changes and so on, please follow @ClojureWerkz on Twitter.

Langohr Is a ClojureWerkz Project

Langohr is part of the group of libraries known as ClojureWerkz, together with Monger, Neocons, Elastisch, Quartzite and several others.

Continuous Integration

Continuous Integration status

CI is hosted by


Langohr uses Leiningen 2. Make sure you have it installed and then run tests against all supported Clojure versions using

lein2 all test

Then create a branch and make your changes on it. Once you are done with your changes and all tests pass, submit a pull request on Github.


Copyright (C) 2011-2013 Michael S. Klishin

Double licensed under the Eclipse Public License (the same as Clojure) or the Apache Public License 2.0.

Something went wrong with that request. Please try again.