WebLogic Messaging API Class Library

ISession. Method (Object)

Creates an initialized IObjectMessage object. An IObjectMessage object is used to send a message that contains a default(with Serializable attribute) or custom serializable (implementing ISerializable interface) object.

IObjectMessage (
   Object serializableObject
);

Parameters

Object
the serializable object to use to initialize this message

Return Value

An IObjectMessage 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 | ISession. Overload List