February 2002
Beginner to intermediate
544 pages
10h 23m
English
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.
RETURNS:
the boolean value read
THROWS:
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.
RETURNS:
the next byte from the bytes message stream as a signed 8-bit byte
THROWS:
JMSException if the JMS provider fails to ...
Read now
Unlock full access