IMessage.getMessageId 方法

定义

Gets the Id of this message.

The message identifier is an application-defined value that uniquely identifies the message and its payload. The identifier is a free-form string and can reflect a GUID or an identifier derived from the application context. If enabled, the duplicate detection feature identifies and removes second and further submissions of messages with the same MessageId.

public String getMessageId()

返回

String

Id of this message

适用于