writeObject
public void writeObject(Object value) throws JMSException;
Writes a Java™ object to the stream message.
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 - if JMS fails to write the object to the message due to an internal JMS error.
- MessageNotWriteableException - if the message is in read-only mode.
- MessageFormatException - if the object is not valid
uj27190_