WebLogic Messaging API Class Library

ISession. Method 

Creates a IMessage object. The IMessage interface is the root interface of all JMS messages. A IMessage object holds all the standard message header information. It can be sent when a message containing only header information is sufficient.

IMessage ();

Return Value

A IMessage object

Exceptions

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

See Also

ISession Interface | WebLogic.Messaging Namespace