setBytes

 

public void setBytes(String name, byte[] value, int offset, int length) 
              throws JMSException;

Sets a portion of a byte array in the map with the given name.

Parameters

  • name - the name of the byte array

  • value - the byte array to set in the Map.

  • offset - the initial offset within the byte array.

  • length - the number of bytes to use.

Exceptions

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

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


uj26310_