This topic describes messages that are published to Message Service (MNS) topics. You can specify Message, MessageTag and other parameters when publishing messages. The maximum retention period of messages in topics is one day. After the specified retention period, messages are collected by garbage collector no matter whether messages have been pushed to subscribers.

Parameters

MessageId
  • The ID of the message.
  • Each message in a topic has a unique message ID.
Message
The message content.
MessageMD5
The MD5 hash of the message content.
MessageTag
  • The tag of the message.
  • If you specify a message tag when publishing messages, MNS push messages to subscribers based on the tag.
PublishTime
The time when the message was published. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.