Exemple #1
0
 protected PublishMessageSenderBase(
     ILogger logger,
     ConfigOptions options,
     IStorageConnection connection,
     IStateChanger stateChanger)
 {
     _options      = options;
     _connection   = connection;
     _stateChanger = stateChanger;
     _logger       = logger;
 }
Exemple #2
0
        public DefaultSubscriberExecutor(
            ILogger <DefaultSubscriberExecutor> logger,
            ConfigOptions options,
            IConsumerInvokerFactory consumerInvokerFactory,
            ICallbackMessageSender callbackMessageSender,
            IStateChanger stateChanger,
            IStorageConnection connection,
            MethodMatcherCache selector)
        {
            _selector = selector;
            _callbackMessageSender = callbackMessageSender;
            _options      = options;
            _stateChanger = stateChanger;
            _connection   = connection;
            _logger       = logger;

            Invoker = consumerInvokerFactory.CreateInvoker();
        }