public void writeBytes(byte[] value, int offset, int length) throws JMSException
{
if (bodyReadOnly)
{
throw new MessageNotWriteableException("the message body is read-only");
}
bodyChange();
((BytesMessage)message).writeBytes(value, offset, length);
}