IObjectMessageis used to send an Object that either specifies a
System.Serializableattribute or implements the
System.Runtime.Serialization.ISerializableinterface. It inherits from the
IMessageinterface and adds a body containing a single reference to an object.
When a client receives an
IObjectMessage, it is in read-only mode. If a client attempts to write to the message at this point, a
MessageNotWriteableException is thrown. If
ClearBody is called, the message can now be both read from and written to.
For a list of all members of this type, see IObjectMessage Members.
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.
Assembly: WebLogic.Messaging (in WebLogic.Messaging.dll)