bodyWriteOnly = true;
   public void clearBody() throws JMSException   {      payload = new ArrayList();      position = 0;      offset = 0;      size = 0;      bodyWriteOnly = true;      super.clearBody();   }