Updated on 2025-09-03 GMT+08:00

Viewing a RabbitMQ Virtual Host

After a virtual host is successfully created, you can view its exchanges and queues on the console.

Viewing a RabbitMQ Virtual Host

  1. Log in to the console.
  2. Click in the upper left corner to select the region where your instance is located.
  3. Click in the upper left corner and choose Application > Distributed Message Service for RabbitMQ to open the RabbitMQ instance list.
  4. Click an instance name to go to the instance details page.
  5. In the navigation pane, choose Instance > Virtual Hosts.
  6. Click a virtual host name.
  7. View the sum of exchanges or queues in the top area and their details on the Exchange and Queue tab pages. Table 1 describes exchange details. Table 2 describes queue details.

    Table 1 Exchange details

    Parameter

    Description

    Name

    Name of an exchange.

    Default

    Whether this exchange is created by the system.

    • Yes: This type of exchange cannot be deleted.
    • No: This type of exchange is manually created, and can be deleted.

    Target Type

    Type of an exchange.

    • direct: Exchanges route messages to matching queues based on the routing keys.
    • fanout: Exchanges route messages to all bound queues.
    • topic: Exchanges route messages to queues based on routing key wildcard matching.
    • headers: Exchanges are related to the message headers. Routing keys are not used. Exchanges route messages based on matching between key-value pairs in the message headers and the binding (a key-value pair).

    Persistence

    Whether this exchange supports persistence.

    • Yes: The exchange survives server restart.
    • No: The exchange will be deleted after server restarts and needs to be recreated.

    Internal

    Whether this exchange is for internal use.

    • Yes: This exchange can only bind another exchange instead of a queue.
    • No: This exchange can bind exchanges and queues.

    Automatically delete

    Whether this exchange can be automatically deleted.

    • Yes: This exchange will be automatically deleted when the last bound queue unbound from the exchange.
    • No: This exchange will not be deleted when the last bound queue unbound from the exchange.
    Table 2 Queue details

    Parameter

    Description

    Name

    Name of a queue.

    Accumulated Messages

    Number of accumulated messages in this queue.

    Persistence

    Whether this queue supports persistence.

    • Yes: This queue survives after server restart.
    • No: This queue will be deleted after server restart and needs to be recreated.

    Auto-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.

    Policy

    Name of the policy set for this queue.