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 a queue

  1. Log on to the Message Queue for RabbitMQ console.
  2. In the top navigation bar, select the region where your instance resides.
  3. In the left-side navigation pane, click Queues.
  4. On the Queues page, select an instance and a vhost, find the queue that you want to clear in the queue list, and choose icon_more > Clear in the Actions column.
  5. In the Tips message, click OK.

Result

The value of the Accumulated Messages parameter changes to 0.