Build RabbitMQ Java Client from Source

RabbitMQ

Features
Get Started
Support
Community
Docs
Blog

Overview

This guides describes the process of building the Java client library 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

JDK 8 or newer
Maven version 3.3.x or newer.

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 ❤️

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!
In This Section

Server Documentation
Client Documentation
Plugins
News
Protocol
Our Extensions
Building
    Building the Server
    Building the Java Client
    Building the .NET Client
    Building the Erlang Client
    Our use of Git and GitHub
Previous Releases
License

RabbitMQ

Features
Get Started
Support
Community
Docs
Blog

Copyright © 2007-2020 VMware, Inc. or its affiliates. All rights reserved. Terms of Use, Privacy and Trademark Guidelines

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值