IMessage.getSessionId 方法

定义

Gets the session identifier for a session-aware entity.

For session-aware entities, this application-defined value specifies the session affiliation of the message. Messages with the same session identifier are subject to summary locking and enable exact in-order processing and demultiplexing. For session-unaware entities, this value is ignored.

public String getSessionId()

返回

String

session id of this message

适用于