public RedisSubscriptionReceiver(Subscription subscription,
                                  Func<ConnectionMultiplexer> connectionMultiplexerFunc,
                                  Func<IDatabase> databaseFunc,
                                  ISerializer serializer,
                                  ConcurrentHandlerLimitSetting concurrentHandlerLimit,
                                  IGlobalHandlerThrottle globalHandlerThrottle,
                                  ILogger logger,
                                  IRetry retry)
     : base(
         subscription.SubscriptionMessagesRedisKey,
         connectionMultiplexerFunc,
         databaseFunc,
         serializer,
         concurrentHandlerLimit,
         globalHandlerThrottle,
         logger)
 {
     _subscription = subscription;
     _databaseFunc = databaseFunc;
     _retry = retry;
 }
Beispiel #2
0
 public INimbusMessageReceiver GetTopicReceiver(string topicPath, string subscriptionName)
 {
     var subscription = new Subscription(topicPath, subscriptionName);
     return _container.ResolveWithOverrides<RedisSubscriptionReceiver>(subscription);
 }