nevado-jms/src/main/java/org/skyscreamer/nevado/jms/message/NevadoBytesMessage.java
/**
     * Writes a <code>boolean</code> to the bytes message stream as a 1-byte value. 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 bytes message stream as a 1-byte value. 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 bytes message stream as a 1 - byte value . 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 {
            this.dataOut.writeBoolean(value);
        }
        catch (IOException ioe) {
            JMSException jmsEx = new JMSException("Could not write data:" + ioe.getMessage());
            jmsEx.setLinkedException(ioe);
            throw jmsEx;
        }
    }
public void writeBoolean ( boolean value ) throws JMSException { initializeWriting ( ) ; try { this . dataOut . writeBoolean ( value ) ; } catch ( IOException ioe ) { JMSException jmsEx = new JMSException ( "Could not write data:" + ioe . getMessage ( ) ) ; jmsEx . setLinkedException ( ioe ) ; throw jmsEx ; } }
Writes a <code>boolean</code> to the bytes message stream as a 1-byte value.
Writes a <code > boolean< / code > to the bytes message stream as a 1 - byte value .