This repository is to support my Medium article in implementing a non-blocking retry solutions for RabbitMQ with Spring Framework using combination of dead-letter queues and TTL.
You will need a total of 4 queues in order to utilize this solution.
Queue Name | Purpose | Sample |
---|---|---|
* |
entry queue | test |
*-fail |
next queue after entry queue if processing failed | test-fail |
*-fail.retry |
next queue after *-fail when message is TTL-ed |
test-fail.retry |
*-park |
final destination of message after all attempts are exhausted | test-park |