WebLogic Messaging API Class Library

IObjectMessage.Object Property

Gets the serializable object containing this message's data. The default value is null.

 Object {get; set;}

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

Exceptions

Exception Type Condition
MessageException if the JMS provider fails to get the object due to some internal error.
MessageFormatException if object deserialization fails.
MessageException if the JMS provider fails to set the object due to some internal error.
MessageFormatException if object serialization fails.
MessageNotWriteableException if the message is in read-only mode.

See Also

IObjectMessage Interface | WebLogic.Messaging Namespace