Publishing a Text Message
Scenarios
After you publish a text message to a topic, SMN will deliver the message to all confirmed subscription endpoints in the topic.
Prerequisites
Subscribers in the topic must have confirmed the subscription, or they will not be able to receive any messages.
Procedure
- Select Simple Message Notification under Application.
The SMN console is displayed.
-
In the navigation pane, choose Topics.
The Topics page is displayed.
- In the topic list, locate the topic that you need to publish a message to and click Publish Message in the Operation column.
- Configure the required parameters based on Table 1.
The topic name is provided by default and cannot be changed.
Table 1 Parameters required for publishing a message Parameter
Description
Subject
(Optional) Specifies the message subject, which must be fewer than 512 bytes.
Message Format
Specifies in which format a message is published. You can select only one message format each time you publish a message.
- Text: common text message
- JSON: JSON message
- Template: template message
Message
Specifies the message content. The message content cannot be left blank nor exceed 256 KB.
- Click OK.
SMN delivers your message to all subscription endpoints. For details about the messages received by each endpoint, see Messages Using Different Protocols.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot