WebLogic Messaging API Class Library |

# ISession.CreateMapMessage Method

Creates an `IMapMessage` object. An `IMapMessage` object is used to send a self-defining set of name-value pairs, where names are `String` objects and values are primitive values in the Java programming language.

IMapMessage CreateMapMessage();

#### Return Value

An `IMapMessage` object

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to create this message due to some internal error.

#### See Also

ISession Interface | WebLogic.Messaging Namespace