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.
To Publish a Text Message
- Log in to the management console.
- Click
on the upper left to select the desired region and project. - Under Management & Governance, select Simple Message Notification.
The SMN console is displayed.
- In the navigation pane, choose Topic Management > Topics.
The Topics page is displayed.
- In the topic list, locate the topic to which you need to publish a message and click Publish Message under Operation.
- 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) The message subject must be less than 512 bytes.
Message Format
The message format can be Text, JSON, or Template. In this context, select Text.
- Text: common text message
- JSON: JSON message
- Template: template message. For details, see Message Template Management.
Message
This is the message content, which cannot be left blank nor exceed 256 KB.
Figure 1 shows an example text message. - Click OK.
SMN delivers your message to all subscription endpoints. For details about the messages received by each endpoint, see Messages of Different Protocols.
Last Article: Introduction
Next Article: Publishing a JSON Message

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.