consumerTag is an identifier of a consumer client. Message Queue for RabbitMQ allows you to view consumerTags of online consumer clients that have subscribed to a specific queue.

Prerequisites

  1. Activate Message Queue for RabbitMQ
  2. Create resources
  3. Call an SDK to send and receive messages
    Notice Message Queue for RabbitMQ allows you to view consumerTags of only online consumer clients.

Background information

consumerTag is an identifier of a consumer client. You can specify consumerTag on a Message Queue for RabbitMQ consumer client. If you do not specify consumerTag on a Message Queue for RabbitMQ consumer client, the Message Queue for RabbitMQ broker automatically generates a consumerTag.
Notice
  • consumerTag must be unique. That is, the consumerTag that is already used by a consumer cannot be used by another consumer at the same time.
  • consumerTag is valid in only one channel. That is, the consumerTag that has been created in a channel cannot be used in another channel.

Procedure

  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, enter a queue name in the search box, and then click Search.
  5. Find the required queue in the queue list, and choose icon_more > View consumerTags in the Actions column.
  6. In the View consumerTags message, view consumerTags and click Close.
    consumerTag