Creates an initialized 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.
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. |
ISession Interface | WebLogic.Messaging Namespace | ISession.CreateObjectMessage Overload List