nevado-jms/src/main/java/org/skyscreamer/nevado/jms/message/NevadoStreamMessage.java
/**
     * Writes a <code>boolean</code> to the stream message. The value
     * <code>true</code> is written as the value <code>(byte)1</code>; the
     * value <code>false</code> is written as the value <code>(byte)0</code>.
     *
     * @param value
     *            the <code>boolean</code> value to be written
     * @throws JMSException
     *             if the JMS provider fails to write the message due to some
     *             internal error.
     * @throws MessageNotWriteableException
     *             if the message is in read-only mode.
     */
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.

@param value
the boolean value to be written
@throws JMSException
if the JMS provider fails to write the message due to some
internal error.
@throws MessageNotWriteableException
if the message is in read-only mode.
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 . @param value the boolean value to be written @throws JMSException if the JMS provider fails to write the message due to some internal error . @throws MessageNotWriteableException if the message is in read - only mode .
public void writeBoolean(boolean value) throws JMSException {
        initializeWriting();
        try {
            MarshallingSupport.marshalBoolean(dataOut, value);
        } catch (IOException e) {
            String exMessage = "Could not write boolean: " + e.getMessage();
            _log.error(exMessage, e);
            throw new JMSException(exMessage);
        }
    }
public void writeBoolean ( boolean value ) throws JMSException { initializeWriting ( ) ; try { MarshallingSupport . marshalBoolean ( dataOut , value ) ; } catch ( IOException e ) { String exMessage = "Could not write boolean: " + e . getMessage ( ) ; _log . error ( exMessage , e ) ; throw new JMSException ( exMessage ) ; } }
Writes a <code>boolean</code> to the stream message.
Writes a <code > boolean< / code > to the stream message .