code: @Override
      public void clearBody() {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "clearBody");
  
          // Clear any data in the message itself
          getPayload().setChoiceField(JmsObjectBodyAccess.BODY, JmsObjectBodyAccess.IS_BODY_EMPTY);
          // Throw away any references to the 'real' object
          realObject = null;
          hasRealObject = false;
          hasSerializedRealObject = false;
          softRefToRealObject = null;
          clearCachedLengths();
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "clearBody");
      }
docs: /*
  Clear the message body.
  
  Javadoc description supplied by JsJmsMessage interface.