public void setBytes(final String name, final byte[] value, final int offset, final int length) throws JMSException
{
checkName(name);
if (bodyReadOnly)
{
throw new MessageNotWriteableException("Message is ReadOnly !");
}
if (offset + length > value.length)
{
throw new JMSException("Array is too small");