string
. The JMSMessageID
header field contains a value that uniquely identifies each message sent by a provider.
When a message is sent, JMSMessageID
can be ignored. When the Send
or Publish
method returns, it contains a provider-assigned value.
A JMSMessageID
is a String
value that functions as a unique key for identifying messages in a historical repository. The exact scope of uniqueness is provider-defined (for WebLogic JMS this value is generally unique among all server instances in all domains and across all time).
All JMSMessageID
values Start with the prefix 'ID:'
. Uniqueness of message ID values across different JMS vendors is not guaranteed.
Exception Type | Condition |
---|---|
MessageException | if JMS fails to get the message ID due to some internal error. |
IMessage Interface | WebLogic.Messaging Namespace