code: final void stop() {
  
          final String methodName = "stop";
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, methodName);
          }
  
          try {
  
              // Make sure we have a session and that it hasn't already been stopped
              // If an MDB is stopped by the system due to messages failing to be delivered 
              // the session will be stopped and the consumerSessionStopped method on the
              // StoppableAsynchConsumerCallback interface on this class will be called.
              // This will cause the _sessionStopped field to be set to true (which indicates
              // that this listener is in the process of shutting down). We do not then 
              // need to call stop again as the session is already stopped. When the MDB is 
              // resumed a new SibRaListener object is created and so we don't need to reset 
              // the _sessionStopped variable.
              if ((_session != null) && (!_sessionStopped))
              {
                  sessionStarted = false;
                  stopIfRequired();
              }
  
          } catch (final SIException exception) {
  
              FFDCFilter.processException(exception, CLASS_NAME + "."
                                                     + methodName, "1:878:1.68", this);
              if (TraceComponent.isAnyTracingEnabled() && TRACE.isEventEnabled()) {
                  SibTr.exception(this, TRACE, exception);
              }
  
          } catch (final SIErrorException exception) {
  
              FFDCFilter.processException(exception, CLASS_NAME + "."
                                                     + methodName, "1:886:1.68", this);
              if (TraceComponent.isAnyTracingEnabled() && TRACE.isEventEnabled()) {
                  SibTr.exception(this, TRACE, exception);
              }
  
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, methodName);
          }
  
      }
docs: Stop this listener. Stops the consumer session.