writeBytes

 

public void writeBytes(byte[] value, int offset, int length) 
              throws JMSException;

Writes a portion of a byte array to the stream message.

Parameters

  • value - the byte array value to be written.

  • offset - the initial offset within the byte array.

  • length - the number of bytes to use.

Exceptions

  • JMSException - if JMS fails to write the byte array portion to the message due to an internal JMS error.

  • MessageNotWriteableException - if the message is in read-only mode.


uj27130_