string
. Some JMS providers use a message repository that contains the definitions of messages sent by applications. The JMSType
header field may reference a message's definition in the provider's repository. (WebLogic JMS currently does not have a message definition repository. Therefore, if the message will not be forwarded to a foreign vendor, the JMSType can be used to store an arbitrary value -- similar to the usage for JMSCorrelationID.)
Exception Type | Condition |
---|---|
MessageException | if JMS fails to set the message type due to some internal error. |
IMessage Interface | WebLogic.Messaging Namespace