code: public void clearBody() {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "clearBody");
      getPayload().setChoiceField(JmsMapBodyAccess.BODY, JmsMapBodyAccess.IS_BODY_EMPTY);
      // Need to create a new empty map, otherwise the old values appear from the buffer d343628
      bodyMap = new JsMsgMap(null, null);                                             // d343628
      // We also need to mark it as 'changed'. It would be have been nice to just        d327036.1
      // call getBodyMap().clear(), but we can't if the CCSID isn't supported            d327036.1
      bodyMap.setChanged();                                                           // d327036.1
      clearCachedLengths();
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "clearBody");
    }
docs: /*
  Clear the body (payload) of the message.