How to move error message to Azure dead letter queue using Java?
问题 We are using Azure Service Bus Queues for exchanging messages between different systems. We would like to move the invalid messages to Dead Letter Queue using Java code. I am able to move the messages to the Main queue, but not to dead letter queue. I tried to give the queue name as "BasicQueue/$deadletterqueue", but I was getting the error. 回答1: There are many reasons why a message may be automatically moved to the dead letter queue by the Azure Service bus runtime, such as: The max delivery