This is a library that allows multiple RabbitMQ connections to be configured in an application and message routing between those various connections.
The library is hosted on jcenter and Maven Central. To use the library, use the following dependency.
build.gradle:
dependencies {
implementation 'com.budjb:spring-rabbitmq-multi-publish:0.1.0'
}
A connection is configured using an AMQP URI.
For example, in application.properties
:
rabbitmq.connections.my-connection.uri=amqp://foo:bar@localhost/vhost
Multiples of these connections may be configured, and each must have a unique name. The
name of the connection is provided in the configuration key after the
rabbitmq.connections
part. Therefore, in the previous example, the name of the connection
is my-connection
.
- Fix log line that previously used Groovy string interpolation.
- Fixed a bug where getting a default connection context simply returned the first configured connection instead of looking for the first default connection.
- Fix an issue where an RPC call returns the request body instead of the response body.
- Change metrics to use micrometer.
- Initial release with tests.
- Added a
ConnectionProvider
to abstract the functionality of building a RabbitMQ connection. - Add a README file.
- Initial release of functional code.