Menu

Build RabbitMQ Java Client from Source

Overview

This guides describes the process of building the .Net/C# client libraries from source.

The repository is hosted on GitHub. Clone two repositories with

git clone https://github.com/rabbitmq/rabbitmq-codegen.git rabbitmq_codegen
git clone https://github.com/rabbitmq/rabbitmq-java-client.git

The code generation repository is a dependency of the Java client library.

Required Libraries and Tools

In order to build RabbitMQ Java client, you will need a few tools.

The first one is a recent version of Python and simplejson.py in order to drive code generation.

Additionally, for building the Java client libraries, you will need

Building

Ensure JAVA_HOME is correctly set and that the rabbitmq-java-client and rabbitmq_codegen directories are in the same directory. Then, from the rabbitmq-java-client directory, run

cd rabbitmq-java-client

./mvnw clean package -Ddeps.dir=../ -DskipTests

The generated JAR file will be in target directory.

Contributing

If you are looking to contribute to the client, take a look at these instructions on GitHub.

Getting Help and Providing Feedback

If you have questions about the contents of this guide or any other topic related to RabbitMQ, don't hesitate to ask them on the RabbitMQ mailing list.

Help Us Improve the Docs <3

If you'd like to contribute an improvement to the site, its source is available on GitHub. Simply fork the repository and submit a pull request. Thank you!