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