All Products
Search
Document Center

Simple Message Queue (formerly MNS):Manage queues in the console

Last Updated:Jan 09, 2026

This topic describes how to manage queues in the Simple Message Queue (SMQ, formerly MNS) console.

Prerequisites

Activate SMQ and grant permissions. For more information, see Activate SMQ and authorize RAM users to access SMQ.

Create a queue

  1. Log on to the SMQ console.

  2. In the left-side navigation pane, choose Queue Model > Queues.

  3. In the top navigation bar, select a region.

  4. On the Queues page, click Create Queue.

  5. In the Create Queue panel, set the following parameters and click OK.

    • Name: The queue name.

    • Queue Type: The queue type.

      • Standard Queue: For standard messages. Consumption order is not guaranteed.

      • FIFO Queue: Guarantees that messages within the same group are consumed in the order they are sent.

    • Maximum Message Length: The maximum size of a message body.

    • Long Polling Period: The maximum time that a ReceiveMessage request waits for a message. If you set this parameter to 0, long polling is disabled.

    • Visibility Timeout Period: The duration a retrieved message remains Inactive. For more information, see Message visibility.

    • Message Retention Period: The maximum time to store a message in the queue. After this period, the message is deleted regardless of whether it has been retrieved.

    • Message Delay Period: The delivery delay for all messages sent to this queue.

    • Enable Logging Feature: When enabled, operation logs for this queue are automatically sent to a specified Logstore. You can view message traces, latency, and other information in the logs. For more information, see Log Management.

    The newly created queue appears on the Queues page.

Edit a queue

  1. On the Queues page, find the queue to modify, click More in the Actions column, and then select Edit.

  2. In the panel that appears, modify the queue settings and click OK.

    The updated configuration appears in the Basic Information section of the Queue Details page.

Find a queue

  1. On the Queues page, enter a prefix of the queue name, such as test, in the search box and click the search icon.

    All queues with names that start with the specified prefix appear in the list.

View queue details

  1. On the Queues page, find the desired queue and click Details in the Actions column.

  2. On the Queue Details page, view the detailed information about the queue.

Get endpoints

  1. On the Queues page, find the queue to access and click Details in the Actions column.

  2. On the Queue Details page, go to the Endpoint section to view the endpoints for Internet Access and Internal Access.

    Note

    You can access endpoints over HTTP or HTTPS.

Send a message

  1. On the Queues page, find the target queue, click More in the Actions column, and then select Send Messages.

  2. On the Quick Experience page, go to the Send Message section, configure the Message Content and Message Delay Period parameters, and then click Send Message.

    A success message appears.

Receive messages

  1. On the Queues page, find the target queue, click More in the Actions column, and then select Send Messages.

  2. Optional: On the Quick Experience page, go to the Receive Message section and click Edit Parameters of Receiving Messages. In the Edit Parameters of Receiving Messages panel, configure Receive Times and Polling Period, and then click OK.

  3. On the Quick Experience page, go to the Receive Message section and click Receive Message.

    The Receive Message section then displays the list of messages from the queue.

  4. Optional: In the message list, find a message and click Details in the Actions column to view its content and other information.

View queue metrics

  1. On the Queues page, find the queue to monitor, click More in the Actions column, and then select Cloud Monitor.

  2. In the Cloud Monitor section, view the metrics for the queue.

    image

    Note

    For more information about alert rules, see Create an alert rule.

Delete a queue

  1. On the Queues page, find the queue to delete, click More in the Actions column, and then select Delete.

  2. In the Note dialog box, read the information and click OK.

    The deleted queue no longer appears on the Queues page.

    Warning
    • After a queue is deleted, its data cannot be recovered.

    • Before you delete a queue, stop all API requests to the queue. Otherwise, you will continue to be charged for these requests.