Spring Boot RabbitMQ retry patterns
4 min readApr 12, 2023
People tend to think optimistically and working with message queues is not an exception. When events are delivered and handled appropriately — developers are happy. But what options do we have when errors happen?
| The code can be found here
Default behaviour
Spring AMQP’s default behaviour is to requeue failed message. It is useful if there is some temporal issue that prevents message to be processed, or issue affects only a subset of consumers. Message would be requeued until it reaches consumer that…