This topic describes how to clear a queue in the Message Queue for RabbitMQ console.

Prerequisites

Before you clear a queue, make sure that the following operations are complete:

Clear your queue

  1. Log on to the Message Queue for RabbitMQ console.
  2. In the Resource Distribution section of the Overview page, select the region where your instance is located.
  3. On the Instances page, click the name of your instance.
  4. In the left-side navigation pane, click Queues.
  5. On the Queues page, click Change next to vhost. From the drop-down list, select the vhost of the queue that you want to clear. Find the queue in the queue list, click More in the Actions column, and then select Clear Messages.
  6. In the Note message, read the note and click OK.

Result

The value of the Accumulated Messages parameter changes to 0.