All Products
Search
Document Center

Simple Message Queue (formerly MNS):List of operations by function

Last Updated:Sep 02, 2024

This topic describes the API operations of Simple Message Queue (formerly MNS) that you can call by using client SDKs.

Queue-related messaging

API operation

Description

Call method

SendMessage

Sends a message to a queue.

SMQ console or OpenAPI Explorer

BatchSendMessage

Sends multiple messages to a queue at a time.

OpenAPI Explorer

ReceiveMessage

Receives a message from a queue.

SMQ console or OpenAPI Explorer

BatchReceiveMessage

Receives multiple messages from a queue.

OpenAPI Explorer

DeleteMessage

Deletes a message that has been consumed.

SMQ console or OpenAPI Explorer

BatchDeleteMessage

Deletes multiple messages from a queue.

OpenAPI Explorer

PeekMessage

Queries a message.

OpenAPI Explorer

BatchPeekMessage

Queries multiple messages.

OpenAPI Explorer

ChangeMessageVisibility

Modifies the period after which a consumed message that remains in the Inactive state can be consumed again.

OpenAPI Explorer

Topic-related messaging

Operation

Description

PublishMessage

Publishes a message to a topic.