The BytesMessage interface inherits the fields and the methods of the interface javax.jms.Message. The following methods are defined in the interface javax.jms.BytesMessage.
public boolean readBoolean()
Reads a boolean from the bytes message stream.
the boolean value read
JMSException if the JMS provider fails to read the message due to some internal error MessageEOFException if unexpected end of bytes stream has been reached MessageNotReadableException if the message is in write-only mode
public byte readByte()
Reads a signed 8-bit value from the bytes message stream.
the next byte from the bytes message stream as a signed 8-bit byte
JMSException if the JMS provider fails to ...