writeBoolean

 

public void writeBoolean(boolean value) throws JMSException;

Writes a boolean to the stream message. The value true is written as the value (byte)1; the value false is written as the value (byte)0.

Parameters

  • value - the boolean value to be written.

Exceptions

  • JMSException - if JMS fails to write the boolean to the message due to an internal JMS error.

  • MessageNotWriteableException - if the message is in read-only mode.


uj27100_