code: public String getState() throws SIMPException
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "getState");
  
      String currentState = null;
  
      // Has the state of this message been set externally (by MQLink). If not then
      // return the MP state associated with the message
      if(this.state != null)
      {
        currentState = this.state;
      }
      else
      {
        currentState = super.getState();
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "getState", currentState);
      return currentState;
    }
docs: /* (non-Javadoc)
  @see com.ibm.ws.sib.processor.runtime.SIMPQueuedMessageControllable#getState()