public InProcessSubscriptionReceiver(Subscription subscription,
                                      ConcurrentHandlerLimitSetting concurrentHandlerLimit,
                                      InProcessMessageStore messageStore,
                                      IGlobalHandlerThrottle globalHandlerThrottle,
                                      ILogger logger)
     : base(
         InProcessTransport.FullyQualifiedSubscriptionPath(subscription.TopicPath, subscription.SubscriptionName),
         concurrentHandlerLimit,
         messageStore,
         globalHandlerThrottle,
         logger)
 {
     _subscription = subscription;
     _messageStore = messageStore;
 }
Beispiel #2
0
 public INimbusMessageReceiver GetTopicReceiver(string topicPath, string subscriptionName)
 {
     var subscription = new Subscription(topicPath, subscriptionName);
     return _container.ResolveWithOverrides<InProcessSubscriptionReceiver>(subscription);
 }