setObject

 

public void setObject(Serializable object) throws JMSException;

Sets the Serializable object containing this message's data.

Parameters

  • object - the message's data

Exceptions

  • JMSException - with reasons

    • MQJMS_EXCEPTION_MESSAGE_NOT_WRITABLE

    • MQJMS_E_SERIALISE_FAILED

  • MessageFormatException - if object serialization fails


uj26920_