code: public void setText(String text) {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
        if ((text == null) || text.length() < 257) {
          SibTr.entry(this, tc, "setText", text);
        }
        else {
          SibTr.entry(this, tc, "setText", new Object[]{text.length(), text.substring(0,200)+"..."});
        }
      }
  
      // If the payload is changing, we need to clear all the cached values.
      softRefToDocument = null;
      clearCachedLengths();
  
      // Set the payload data
      getPayload().setField(JmsTextBodyAccess.BODY_DATA_VALUE, text);
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setText");
    }
docs: /*
  Set the body (payload) of the message.
  
  Javadoc description supplied by JsJmsTextMessage interface.