Skip to content

natedev/langohr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Langohr, a feature-rich Clojure RabbitMQ client that embraces AMQP 0.9.1 Model

Langohr is a Clojure wrapper around the RabbitMQ Java client that embraces AMQP 0.9.1 Model and does not try to hide it behind many layers of DSLs. It is pre-1.0 only in the sense that API is not completely locked down at this point: otherwise, it is solid and is used very actively to develop commercial products that involve thousands of nodes communicating with it.

Project Goals

  • Embrace AMQP 0.9.1 Model. Follow Java client's API conventions instead of inventing new overly opinionated ones
  • Provide additional functions/protocols where it actually saves time (we learned a lot from 3+ years history of the Ruby amqp gem development)
  • Be well documented. Use Ruby amqp gem guides as a foundation.
  • Strict TDD development style (with tests sometimes being freeform examples first)
  • Support all of the RabbitMQ extensions to AMQP 0.9.1
  • Provide support for testing of AMQP applications, including asynchronous workflows
  • Provide additional batteries such as CLI interface to AMQP operations

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

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.

Community

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.

This is a Work In Progress

While the API is largely stabilized at this point, Langohr is a work in progress. Breaking API changes are not out of the question because it is much less painful to do them when the library is still young. Also, not every idea we have is implemented. Keep that in mind.

Artifacts

With Leiningen:

[com.novemberain/langohr "1.0.0-beta9"]

With Maven:

<dependency>
  <groupId>com.novemberain</groupId>
  <artifactId>langohr</artifactId>
  <version>1.0.0-beta9</version>
</dependency>

Supported Clojure versions

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

Supported RabbitMQ versions

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

The Road to 1.0

Langohr is slowly approaching 1.0 release. A few remaining items before the release are

  • Documentation guides.
  • Test suite cleanup.
  • Some stress tests to set baseline performance expectations.

We expect 1.0 to be released in 2012 (but not before the documentation site is ready).

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 travis-ci.org

Development

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.

License

Copyright (C) 2011-2012 Michael S. Klishin

Distributed under the Eclipse Public License, the same as Clojure.

About

An idiomatic well tested and well maintained Clojure wrapper around the RabbitMQ Java client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 99.1%
  • Shell 0.9%