Messaging that just works

RabbitMQ


RabbitMQ Java AMQP client library

The RabbitMQ Java client library allows Java code to interface to AMQP servers. The library is platform neutral; the binary distributions listed below differ only in the version of Java they are intended for use with.

The current release implements AMQP protocol version 0-8. Please see the specification page for more information on interoperation and standards-conformance.

The library is open-source, and is dual-licensed under the Mozilla Public License v1.1 and the GNU General Public License, v2.

You will need an AMQP server, such as our very own RabbitMQ server, to use with the client library.

Version

The current release of the RabbitMQ Java AMQP library is 1.7.1.

Download the library and documentation

The library

The library is available as source, or compiled in a few different forms. The precompiled archives include example source code.

DescriptionDownload   
Source code and tools (zip) rabbitmq-java-client-1.7.1.zip(Mirror)(Signature)
Source code and tools (tar.gz) rabbitmq-java-client-1.7.1.tar.gz(Mirror)(Signature)
Binary, compiled for Java 1.5 or newer (zip) rabbitmq-java-client-bin-1.7.1.zip(Mirror)(Signature)
Binary, compiled for Java 1.5 or newer (tar.gz) rabbitmq-java-client-bin-1.7.1.tar.gz(Mirror)(Signature)
Binary, compiled for Java 1.4 (zip) rabbitmq-java-client-java1.4bin-1.7.1.zip(Mirror)(Signature)
Binary, compiled for Java 1.4 (tar.gz) rabbitmq-java-client-java1.4bin-1.7.1.tar.gz(Mirror)(Signature)

Please see checking signatures for details on how to verify the signatures on our packages, and the build page for instructions on compiling from source-code.

The documentation

Please refer to the API guide.

The Javadoc documentation is browseable on-line, or you can download it for off-line use:

DescriptionDownload   
A zip file containing generated Javadoc documentation rabbitmq-java-client-javadoc-1.7.1.zip(Mirror)(Signature)
A tar.gz file containing generated Javadoc documentation rabbitmq-java-client-javadoc-1.7.1.tar.gz(Mirror)(Signature)

Other versions

Consult the archive if you want to download a version of the RabbitMQ Java Client library or documentation other than the above.

Maven Artifact

The RabbitMQ Java AMQP library is available as a Maven artifact on the central Maven repository and mirrors thereof.

To include it in your project, add this dependency to your pom:

<dependency>
  <groupId>com.rabbitmq</groupId>
  <artifactId>amqp-client</artifactId>
  <version>1.7.1</version>
</dependency>

There usually is a few weeks lag between a new release and its appearance in the central Maven repository. Be patient.

Mercurial repositories

The Java AMQP client library and example programs. Depends on the code-generation library module. Please see the build instructions.

For information on how to work with the RabbitMQ mercurial repositories, please see this page.

SnapshotRepository checkout commandRepository overview
rabbitmq-java-clienthg clone http://hg.rabbitmq.com/rabbitmq-java-client/Browse source
rabbitmq-codegenhg clone http://hg.rabbitmq.com/rabbitmq-codegen/Browse source

Support

For help compiling or installing RabbitMQ, please contact support@rabbitmq.com. Contact info@rabbitmq.com for general RabbitMQ queries. You can also join our mailing list.