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. Please see the specification page for more information on AMQP 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 3.3.0.

Download the library and documentation

The library

The library is available in several compiled forms, and as source. The precompiled archives include example source code.

DescriptionDownload  
Binary, compiled for Java 1.5 or newer (zip) rabbitmq-java-client-bin-3.3.0.zip(Signature)
Binary, compiled for Java 1.5 or newer (tar.gz) rabbitmq-java-client-bin-3.3.0.tar.gz(Signature)
Source code and tools (zip) rabbitmq-java-client-3.3.0.zip(Signature)
Source code and tools (tar.gz) rabbitmq-java-client-3.3.0.tar.gz(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-3.3.0.zip(Signature)
A tar.gz file containing generated Javadoc documentation rabbitmq-java-client-javadoc-3.3.0.tar.gz(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.

OSGi Ready

The RabbitMQ Java AMQP library jar comes ready with an OSGi manifest (with bundle version and package dependencies correctly set) so it can be deployed in an OSGi environment. This means it is no longer necessary to bundleise or OSGiefy the jar prior to using it in an OSGi container.

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>3.3.0</version>
</dependency>

We attempt to upload new versions of the Java client on the day of release; however the Maven servers are sometimes unavailable, so there may be a delay of a few days between a new release and its appearance in the central Maven repository. Please be patient.

Mercurial repositories

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

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, or for general queries, please contact us.