readByte

 

public byte readByte() throws JMSException;

Reads a byte value from the stream message.

Returns

  • the next byte from the stream message as a 8-bit byte.

Exceptions

  • JMSException - if JMS fails to read the message due to an internal JMS error.

  • MessageEOFException - if an end of message stream.

  • MessageFormatException - if this type conversion is not valid.

  • MessageNotReadableException - if the message is in write-only mode.


uj26980_