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. 
boolean value to be written| Exception Type | Condition | 
|---|---|
| MessageException | if JMS fails to write the message due to some internal error. | 
| MessageNotWriteableException | if the message is in read-only mode. | 
IBytesMessage Interface | WebLogic.Messaging Namespace