RabbitMQ Java Client Library

RabbitMQ

Features
Get Started
Support
Community
Docs
Blog

Overview

The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes.

5.x release series of this library require JDK 8, both for compilation and at runtime. On Android, this means only Android 7.0 or later versions are supported.

4.x release series support JDK 6 and Android versions prior to 7.0.

See the RabbitMQ Java libraries support page for the support timeline.
Licensing

The library is open-source, and is triple-licensed under

Apache Public License 2.0
Mozilla Public License
GPL 2.0

This means that the user can consider the library to be licensed under any of the licenses from the list above. For example, the user may choose the Apache Public License 2.0 and include this client into a commercial product. Codebases that are licensed under the GPLv2 may choose GPLv2, and so on.
Prerequisites

RabbitMQ Java client connects to RabbitMQ server nodes.

You will need a running RabbitMQ node to use with the client library.
Latest Version

The current release of the RabbitMQ Java client is 5.9.0.
Adding Library Dependency

The recommended way to get started using the RabbitMQ Java client in your project is with a dependency management system.

If you’re using Maven, add this dependency to the POM file of your project:

com.rabbitmq amqp-client 5.9.0

If using Gradle:

dependencies {
compile ‘com.rabbitmq:amqp-client:5.9.0’
}

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.
Download the library and Documentation

The client and its API reference documentation can be downloaded directly.
The Library

The library is available in compiled form, and as source.
Description Download Signature
Binary, compiled for JDK 8 (Android 7.0) or newer amqp-client-5.9.0.jar Signature file
Source code amqp-client-5.9.0-sources.jar Signature file

See the Signatures guide for details on how to verify package signatures, and the Java client build guide 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:
Description Download Signature
A JAR file containing generated Javadoc documentation amqp-client-5.9.0-javadoc.jar Signature file

Javadoc for the latest 4.x series release is available as well.
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 client 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.
GitHub Repositories

The RabbitMQ Java client depends on the code generation library module. Please see the build page for instructions on compiling from source code.
Snapshot Clone Repository
Java client

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

Repository on GitHub

RabbitMQ Code Generator

git clone https://github.com/rabbitmq/rabbitmq-codegen.git

Repository 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

Install: Windows
Install: Debian and Ubuntu
Install: RPM-based Linux
Install: Homebrew
Install: Windows (manual)
Install: Generic binary build
Install: Solaris
Install: EC2
Upgrade
Blue-green deployment-based upgrade
Supported Platforms
Changelog
Erlang Versions
Signed Packages
Java Client Downloads
.NET Client Downloads
Erlang Client Downloads
Community Plugins
Snapshots

Related Links

Java Client Guide

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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值