After a message is published to a queue, you can receive it from the queue. Then, you can check the message content to ensure that the published message is the same as the received message. This article describes how to receive a message pushed to a specified queue of a topic in the Message Service console.

Prerequisites

Publish a message

Procedure

  1. Log on to the MNS console.
  2. In the left-side navigation pane, click Queues.
  3. In the top navigation bar, select a region.
  4. On the Queues page, find the queue from which you want to receive a message. Choose More > Send Messages in the Action column.
  5. Optional:In the Receive Message section of the Quick Experience page, click Edit Parameters of Receiving Messages. In the Edit Parameters of Receiving Messages dialog box, specify the Receive Times and Polling Period parameters, and then click OK.
  6. In the Receive Message section of the Quick Experience page, click Receive Message.
    A list of received messages are displayed in the Receive Message section.
  7. Optional:In the message list, find the message that you want to view. Click Details in the Actions column. In the Message Details dialog box, view the message details, such as message content.