WebLogic Messaging API Class Library |

# IMessage.JMSType Property

Gets/Sets the message type as a `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.)

JMSType {get; set;}

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to set the message type due to some internal error.

#### See Also

IMessage Interface | WebLogic.Messaging Namespace