if (!messageReadWrite)
if (!bodyWriteOnly)
   public void writeShort(short value) throws JMSException   {      if (!messageReadWrite)         throw new MessageNotWriteableException("The message body is readonly");      content.add(new Short(value));   }