# rabbitmq-java-client **Repository Path**: gailunJAVA/rabbitmq-java-client ## Basic Information - **Project Name**: rabbitmq-java-client - **Description**: RabbitMQ Client源码包 - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-11 - **Last Updated**: 2024-11-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RabbitMQ Java Client This repository contains source code of the [RabbitMQ Java client](https://www.rabbitmq.com/api-guide.html). The client is maintained by the [RabbitMQ team at Pivotal](https://github.com/rabbitmq/). ## Dependency (Maven Artifact) Maven artifacts are [released to Maven Central](https://search.maven.org/#search%7Cga%7C1%7Cg%3Acom.rabbitmq%20a%3Aamqp-client) via [RabbitMQ Maven repository on Bintray](https://bintray.com/rabbitmq/maven). There's also a [Maven repository with milestone releases](https://bintray.com/rabbitmq/maven-milestones). [Snapshots are available](https://oss.sonatype.org/content/repositories/snapshots/com/rabbitmq/amqp-client/) as well. ### Maven [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.rabbitmq/amqp-client/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.rabbitmq/amqp-client) #### 5.x Series This client releases are independent from RabbitMQ server releases and can be used with RabbitMQ server `3.x`. They require Java 8 or higher. ``` xml com.rabbitmq amqp-client 5.10.0 ``` ### Gradle ``` groovy compile 'com.rabbitmq:amqp-client:5.10.0' ``` #### 4.x Series This client releases are independent from RabbitMQ server releases and can be used with RabbitMQ server `3.x`. They require Java 6 or higher. ``` xml com.rabbitmq amqp-client 4.12.0 ``` ### Gradle ``` groovy compile 'com.rabbitmq:amqp-client:4.12.0' ``` ## Experimenting with JShell You can experiment with the client from JShell. This requires Java 9 or more. ``` git clone https://github.com/rabbitmq/rabbitmq-java-client.git cd rabbitmq-java-client ./mvnw test-compile jshell:run ... import com.rabbitmq.client.* ConnectionFactory cf = new ConnectionFactory() Connection c = cf.newConnection() ... c.close() /exit ``` ## Contributing See [Contributing](./CONTRIBUTING.md) and [How to Run Tests](./RUNNING_TESTS.md). ## Versioning This library uses [semantic versioning](https://semver.org/). ## Support See the [RabbitMQ Java libraries support page](https://www.rabbitmq.com/java-versions.html) for the support timeline of this library. ## License This package, the RabbitMQ Java client library, is [triple-licensed](https://www.rabbitmq.com/api-guide.html#license) under the Mozilla Public License 2.0 ("MPL"), the GNU General Public License version 2 ("GPL") and the Apache License version 2 ("ASL"). This means that the user can consider the library to be licensed under **any of the licenses from the list** above. For example, you may choose the Apache Public License 2.0 and include this client into a commercial product. Projects that are licensed under the GPLv2 may choose GPLv2, and so on.