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