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