if (!messageReadWrite)
if (!bodyWriteOnly)
   public void writeBoolean(boolean value) throws JMSException   {      if (!messageReadWrite)         throw new MessageNotWriteableException("The message body is readonly");      content.add(Primitives.valueOf(value));   }