How to push the failure messages to Azure service bus Dead Letter Queue in Spring Boot Java?
- 阅读更多 关于 How to push the failure messages to Azure service bus Dead Letter Queue in Spring Boot Java?
问题 I'm using JMS Listener to read the message from the Azure topic and processing the message, Once the process completed I'm pushing back to another topic. I successfully completed functionality with help of spring documentation. Now I need to handle failure messages - Error handler. In case If we have an exception while reading or processing the message means I need to push it to the Dead letter Queue. Sample code I tried based on Spring Documentation. @Component public class Receiver {