Updated on 2025-07-14 GMT+08:00

Viewing a RabbitMQ Queue

After a queue is created, you can view the basic information, bindings, and consumers of it on the console.

Prerequisite

A queue has been created.

Viewing a RabbitMQ Queue

  1. Log in to the RabbitMQ console.
  2. Click in the upper left corner to select the region where your instance is located.
  3. Click an instance name to go to the instance details page.
  4. In the navigation pane, choose Instance > Virtual Hosts.
  5. Click a virtual host name.
  6. On the Queue tab page, click View Detail in the row containing the desired queue. The basic information, bindings, and consumers of the queue are displayed.

    Figure 1 Queue details
    Table 1 Queue basic information parameters

    Parameter

    Description

    Name

    Name of a queue.

    Vhost

    Name of the virtual host to which the queue belongs.

    Accumulated Messages

    Number of accumulated messages in this queue.

    Consumers

    Number of consumers that consume messages in this queue.

    Automatically delete

    Whether this queue can be automatically deleted.

    • Yes: This queue will be automatically deleted when the last consumer unsubscribes from the queue.
    • No: This queue will not be deleted when the last consumer unsubscribes from the queue.

    Dead Letter Exchange

    When this queue is bound to a dead letter exchange, the name of that exchange is displayed. Otherwise, -- is displayed.

    Dead Letter Routing Key

    When this queue is bound to a dead letter exchange and a dead letter routing key is set, the key is displayed. Otherwise, -- is displayed.

    Time to Live(ms)

    When this queue is configured with message retention, this time is displayed. Otherwise, -- is displayed.

    If the time to live passed and messages are still not consumed, they become dead letter messages and are sent to the dead letter exchange.

    Lazy Queue

    Available only for RabbitMQ 3.x.x.

    If this queue is a lazy queue, lazy is displayed. Otherwise, -- is displayed.

    For more information, see Configuring Lazy Queues.

    Highest Priority

    Available only for RabbitMQ AMQP.

    Priority of a queue. The larger the value, the higher the priority.

    Table 2 Bindings parameters

    Parameter

    Description

    Target Type

    Binding type of an exchange. Only queue is displayed, indicating that the exchange is bound to a queue.

    Bound to

    Name of the exchange bound to this queue.

    Routing Key

    Key for routing messages to this queue.

    Table 3 Consumers parameters

    Parameter

    Description

    Consumer Tag

    Unique identifier of a consumer client.

    Channel

    Channel through which a consumer client connects to the RabbitMQ instance.

    Ack Required

    Whether messages are automatically acknowledged.

    • true: Messages are marked as acknowledged and deleted from the queue immediately after being sent to a consumer.
    • false: Messages are marked as unacknowledged and retained in the queue until a consumer sends an acknowledgment (ack) to RabbitMQ. RabbitMQ then deletes the messages.

    Prefetch Count

    Prefetch value of messages. For more information, see Configuring RabbitMQ Message Prefetch.

    User

    Username used by a consumer client to connect to the RabbitMQ instance.

Related Document

To view queue details by calling an API, see Querying Specified Queue Details.