title: How DLQ works in Azure Service bus queue?
body: <p>I am learning how DLQ works in <code>Azure service bus queue</code>. i.e., unconsumed messages will be in DLQ. I have enabled dead lettering (<code>deadLetteringOnMessageExpiration</code>) on message expiration.</p>
  <p><strong>References:</strong></p>
  <ul>
  <li><a href="https://stackoverflow.com/questions/58444791/azure-service-bus-subscriptions-and-dlq">Azure Service Bus - Subscriptions and DLQ</a></li>
  <li><a href="https://stackoverflow.com/questions/49041052/azure-service-bus-move-message-from-dlq-to-main">Azure Service Bus - *move* message from DLQ to main</a></li>
  <li><a href="https://docs.microsoft.com/en-us/azure/service-bus-messaging/enable-dead-letter" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/service-bus-messaging/enable-dead-letter</a></li>
  </ul>
  <p><strong>AMR template:</strong></p>
  <ul>
  <li><a href="https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-namespace-queue" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-namespace-queue</a></li>
  </ul>
  <p><strong>Questions:</strong></p>
  <ul>
  <li>If <code>deadLetteringOnMessageExpiration</code> is enabled, would DLQ be available for that queue (like below screenshot)?</li>
  <li>If yes, how can I process messages from DLQ? (I guess I can view such messages here but not sure what will happen next)</li>
  </ul>
  <p><a href="https://i.stack.imgur.com/SqryX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SqryX.png" alt="enter image description here" /></a></p>
  <p>My goal is to create a queue with DLQ where unprocessed message can be processed at some point and what is the best way to achieve that.</p>