Skip to content

Commit

Permalink
Rewriting and Markdownifying README.
Browse files Browse the repository at this point in the history
  • Loading branch information
rnewman authored and icylisper committed Dec 1, 2009
1 parent 3384673 commit e3910df
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 17 deletions.
17 changes: 0 additions & 17 deletions README

This file was deleted.

27 changes: 27 additions & 0 deletions README.markdown
@@ -0,0 +1,27 @@
# Clojure client for RabbitMQ (AMQP) #

## Installation ##

Get the latest java rabbitmq-client from <http://www.rabbitmq.com/java-client.html>.

You can use the `fetchdeps.sh` script to do this; the RabbitMQ 1.7.0 Java
client will be fetched and unpacked into `lib/`, where `build.xml` expects it.

Build `clojure-rabbitmq.jar` by invoking `ant` with the appropriate
arguments, e.g.:

ant -Dclojure.jar=/opt/clojure/clojure.jar -Dcontrib.jar=/opt/clojure-contrib/clojure-contrib.jar


## Usage and API ##

Ensure that `clojure-rabbitmq.jar` and the RabbitMQ jars are in your classpath.

`.clojure` is set up appropriately for the common `clj` script.

Then:

(use 'com.github.icylisper.rabbitmq)


See `example/publisher.clj` and `example/consumer.clj` for usage.

0 comments on commit e3910df

Please sign in to comment.