[转]A message is added to the Dead Letter Queue (DLQ)

A message is added to the Dead Letter Queue (DLQ)

Summary

A message is added to the Dead Letter Queue (DLQ). Use the ‘Service Bus Explorer’ tool to identify and resolve the error.

Cause

This alert is sent when a new message is added to the Dead Letter Queue (DLQ).

Resolution

Use the Service Bus Explorer tool to view the dead letter queues and resolve the issue using the following steps:

  1. Connect to the Azure Service Bus namespace

  2. View the Dead letter Queue and resolve the issue

Service Bus Explorer is an open source tool that can be used to manage Azure Service Bus. For additional information on the Service Bus Explorer tool, see External Links.

Steps to connect to the Azure Service Bus namespace
  1. Open the Service Bus Explorer tool.

  2. Click File > Connect.

    The Connect to a Service Bus Namespace dialog box is displayed.

  3. In the Service Bus Namespace field, select Enter connection string.

  4. In the Connection String field, specify the connection string generated for the Service Bus Namespace on Azure portal. To obtain the connection string for Service Bus Namespace, perform the following steps:

    1. On the Azure Portal, navigate to the Resource group under which the service bus namespace is created and click on the service bus namespace name.

    2. In the service bus namespace page, on the left pane, click Settings > Shared access policies, and click the RootManageSharedAccessKey policy.

    3. In the SAS Policy: RootManageSharedAccessKey page, if the keys are not already generated, click the Manage check box to generate the keys and connection strings.

    4. Copy the value from the Primary Connection String field.
  5. In the Enter the key for the Service Bus namespace dialog, click OK.

    The Service Bus Namespace is connected, and the queues within the namespace are listed.

Steps to view the Dead Letter Queue and resolve the issue
  1. In the Service Bus Explorer, connect to the service bus namespace for which the alert is triggered.

  2. Select a queue, and click the Deadletter button.

  3. In the Retrieve messages from deadletter queue dialog, click Ok.

    The deadletter messages are displayed in the Deadletter tab.

  4. Double-click on a dead letter message to view the Repair and Resubmit Message dialog.

    The dead letter message is removed from the list in the Deadletter tab.

  5. In the Repair and Resubmit Message dialog, perform the following steps:

    1. In the Message text field, make the required corrections to the message.

    2. Select the Remove message from DLQ check box.

    3. Click Submit.

    4. In the Select a target Queue or topic dialog, and click Ok.

posted @ 2021-04-07 22:40  路边两盏灯  阅读(114)  评论(0编辑  收藏  举报