WebLogic Messaging API Class Library

IObjectMessage Interface

An IObjectMessage is used to send an Object that either specifies a System.Serializable attribute or implements the System.Runtime.Serialization.ISerializable interface. It inherits from the IMessage interface 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.

public\xA0interface\xA0IObjectMessage : WebLogic.Messaging.IMessage


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.


Namespace: WebLogic.Messaging

Assembly: WebLogic.Messaging (in WebLogic.Messaging.dll)

See Also

IObjectMessage Members | WebLogic.Messaging Namespace | CreateObjectMessage | IBytesMessage | IMapMessage | IMessage | IStreamMessage | ITextMessage