code: @Override
      public MPSubscription getSubscription()
                      throws SIDurableSubscriptionNotFoundException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "getSubscription");
  
          ConsumerDispatcher cd = (ConsumerDispatcher) _localConsumerPoint.getConsumerManager();
          MPSubscription mpSubscription = cd.getMPSubscription();
          if (mpSubscription == null)
          {
              if (TraceComponent.isAnyTracingEnabled() && CoreSPIConsumerSession.tc.isEntryEnabled())
                  SibTr.exit(CoreSPIConsumerSession.tc, "getSubscription", "SIDurableSubscriptionNotFoundException");
              throw new SIDurableSubscriptionNotFoundException(
                              nls.getFormattedMessage(
                                                      "SUBSCRIPTION_DOESNT_EXIST_ERROR_CWSIP0146",
                                                      new Object[] {
                                                                    null,
                                                                    _messageProcessor.getMessagingEngineName() },
                                                      null));
  
          }
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "getSubscription", mpSubscription);
          return mpSubscription;
      }
docs: Retrieve the MPSubscription object that represents the subscription (durable or non-durable)
  that this ConsumerSession is feeding from
  
  This function is only available on locally homed subscriptions
  
  Performing this against a queue consumer results in a SIDurableSubscriptionNotFoundException