writeObject

 

public void writeObject(Object value) throws JMSException;

Writes a Java™ object to the bytes message.

Note that this method only works for the 'objectified' primitive object types (Integer, Double, Long...), Strings and byte arrays.

Parameters

  • value - the Java object to be written.

Exceptions

  • JMSException - with reason

    • MQJMS_EXCEPTION_MESSAGE_NOT_WRITABLE

    • MQJMS_EXCEPTION_RESOURCE_ALLOCATION

    • MQJMS_EXCEPTION_MESSAGE_FORMAT


uj26090_