Retry logic in Spring Multirabbit

Some days ago I realized spring-multirabbit had a bug that affected the retry support since its first version. I was browsing for spring-multirabbit in stackoverflow and found this question reporting the issue which was also linked to the original issue that I took but never had the time to check. Thank you folks that opened the question and issue. I just launched the following spring-multirabbit versions that fix it: v3.3.1 v3.2.1 v3.1.7 v3.0.2 v2.7.4 v2.6.3 And here is how to use it. Suppose …

Read More

ConnectionDetails in Spring Multirabbit 3.1.0

The main change introduced in Spring Multirabbit 3.1.0 was the support for ConnectionDetails (GH-34657). ConnectionDetails was introduced in Spring Boot 3.1.0 (commit) and enables Spring’s auto-configuration to utilize connection information from other sources than configuration properties. In other words, it provides a way to overwrite some key properties for connections. It has an impact not only on RabbitMQ connections but a bunch of other integrations like jdbc, mongo, kafka, …

Read More

Spring Multirabbit's update in 2024

spring-multirabbit (maven) project was discontinued in February 2024 and FREE NOW will not maintain it any longer. I decided to fork it and continue supporting it myself under my github.com/rwanderc/spring-multirabbit repository and releasing under my wandercosta.com maven namespace. DISCLAIMER: The library and this initiative to continue supporting it are completely independent of my previous or current employers. I created this project in 2019 while working at FREE NOW, but I stepped away from …

Read More

Spring Multirabbit

SpringBoot doesn’t offer a very easy way of handling multiple RabbitMQ servers without introducing the complexity of SpringCloud Stream or the need to manually provide multiple connection factories in code. The spring-multirabbit library solves this problem, requiring none or minimal changes to the code and very simple extension of the configuration. How to use? Add spring-boot-starter-amqp and spring-multirabbit into the dependencies of the project. Bellow, an example for Maven. …

Read More

Your first SpringBoot app in 5 steps

SpringBoot is made to be powerful and easy! It’s very nice to work with and you will need only these 5 steps for your first app in a Maven project: Define the SpringBoot parent lib Define the dependency to the SpringBoot web library Define the Maven plugin for SpringBoot Create the main method Create a controller with an endpoint Parent SpringBoot lib This is the main and first step when creating a SpringBoot application. The parent library will import basic dependencies from Spring into …

Read More