Creates an initialized
IObjectMessage object. An
IObjectMessage is used to send an Object that either specifies a
System.Serializable attribute or implements the
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.
|MessageException||if JMS fails to create this message due to some internal error.|