RabbitMQ Java 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 page for more information on AMQP interoperation and standards-conformance.
The library is open-source, and is triple-licensed under
You will need a to use with the client library.
Version
The current release of the RabbitMQ Java client is 3.6.5.
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.
Description | Download | |
---|---|---|
Binary, compiled for JDK 6 or newer (zip) | ||
Binary, compiled for JDK 6 or newer (tar.gz) | ||
Source code and tools (zip) | ||
Source code and tools (tar.gz) |
Please see for details on how to verify the signatures on our packages, and the for instructions on compiling from source-code.
The documentation
Please refer to the .
The Javadoc documentation is , or you can download it for off-line use:
Description | Download | |
---|---|---|
A zip file containing generated Javadoc documentation | ||
A tar.gz file containing generated Javadoc documentation |
Other versions
Consult 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 and mirrors thereof.
To include it in your project, add this dependency to your pom:
com.rabbitmq amqp-client 3.6.5
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.
GitHub repositories
The Java AMQP client library and example programs. Depends on the code-generation library module. Please see the for instructions on compiling from source code.
For information on how to work with the RabbitMQ GitHub repositories, please see .
Snapshot | Repository checkout command | Repository overview |
---|---|---|
git clone https://github.com/rabbitmq/rabbitmq-java-client.git | ||
git clone https://github.com/rabbitmq/rabbitmq-codegen.git |
Support
For help compiling or installing RabbitMQ, or for general queries, please .