Official Java client library for RabbitMQ
open sourceMPL-2.0 OR GPL-2.0-only OR Apache-2.0free
The RabbitMQ Java Client is the official Java library for connecting applications to RabbitMQ, maintained by the RabbitMQ team at Broadcom. Its API exposes the AMQP 0-9-1 protocol model (connections, channels, exchanges and queues) with extra abstractions, and covers publishing and consuming messages, automatic recovery from network failures, request/response (RPC), metrics, TLS and OAuth 2. Its releases are independent of the server's and work with RabbitMQ 4.x and 3.x. It needs Java 8 or newer (Android 7.0 or later). Install it from Maven Central as com.rabbitmq:amqp-client.
Problems it solves
- publish messages to RabbitMQ from a Java service
- consume a RabbitMQ queue in Java and reconnect after network failures
- do request/response over RabbitMQ from a JVM app
Features
- publishing and consuming messages
- exchanges, queues and bindings
- automatic recovery from network failures
- request/response (RPC) pattern
- metrics and monitoring
- TLS and OAuth 2 support
Limitations
- Needs Java 8 or newer; on Android, 7.0 or later.1
