WebLogic Messaging API Class Library

ISession.CreateObjectMessage\xA0Method\xA0()

Creates an IObjectMessage object. An IObjectMessage is used to send an Object that either specifies a System.Serializable attribute or implements the System.Runtime.Serialization.ISerializable interface.

IObjectMessage\xA0CreateObjectMessage();

Return Value

An IObjectMessage object

Remarks

It is important to keep in mind that objects that were originally created and sent as the contents of an object message in the .NET environment may only be deserialized and converted back into an object in the .NET environment. Cross platform serialization/deserialization between Java and .NET will not work, and will result in an Exception when an attempt is made to retrieve the 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 | ISession. Overload List