WebLogic Messaging API Class Library


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.


Return Value

An IObjectMessage object


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.


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