WebLogic Messaging API Class Library

IObjectMessage Interface

An IObjectMessage object is used to send a message that contains a default(with Serializable attribute) or custom serializable (implementing ISerializable interface) object. It inherits from the IMessage interface and adds a body containing a single reference to an object. Only default(with Serializable attribute) or custom serializable (implementing ISerializable interface) objects can be used.

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 interface IObjectMessage :

Remarks

It is important to keep in mind that objects created in .net environment will be deserialized and converted to object only in .net environment. Cross platform serialization/deserialization will not work

Requirements

Namespace: WebLogic.Messaging

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

See Also

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