Пример #1
0
 public MessagePump(INimbusMessageReceiver receiver, IMessageDispatcher dispatcher, ILogger logger, IClock clock)
 {
     _receiver = receiver;
     _dispatcher = dispatcher;
     _logger = logger;
     _clock = clock;
 }
Пример #2
0
 public MessagePump(
     IClock clock,
     IDispatchContextManager dispatchContextManager,
     ILogger logger,
     IMessageDispatcher messageDispatcher,
     INimbusMessageReceiver receiver)
 {
     _clock = clock;
     _dispatchContextManager = dispatchContextManager;
     _logger = logger;
     _messageDispatcher = messageDispatcher;
     _receiver = receiver;
 }
Пример #3
0
 public MessagePump(
     IClock clock,
     IDispatchContextManager dispatchContextManager,
     ILogger logger,
     IMessageDispatcher messageDispatcher,
     INimbusMessageReceiver receiver,
     INimbusTaskFactory taskFactory)
 {
     _clock = clock;
     _dispatchContextManager = dispatchContextManager;
     _logger            = logger;
     _messageDispatcher = messageDispatcher;
     _receiver          = receiver;
     _taskFactory       = taskFactory;
 }
Пример #4
0
 public MessagePump(EnableDeadLetteringOnMessageExpirationSetting enableDeadLetteringOnMessageExpiration,
                    MaxDeliveryAttemptSetting maxDeliveryAttempts,
                    IClock clock,
                    IDeadLetterOffice deadLetterOffice,
                    IDelayedDeliveryService delayedDeliveryService,
                    IDeliveryRetryStrategy deliveryRetryStrategy,
                    IDispatchContextManager dispatchContextManager,
                    ILogger logger,
                    IMessageDispatcher messageDispatcher,
                    INimbusMessageReceiver receiver)
 {
     _enableDeadLetteringOnMessageExpiration = enableDeadLetteringOnMessageExpiration;
     _maxDeliveryAttempts = maxDeliveryAttempts;
     _clock = clock;
     _dispatchContextManager = dispatchContextManager;
     _logger = logger;
     _messageDispatcher = messageDispatcher;
     _receiver = receiver;
     _deadLetterOffice = deadLetterOffice;
     _delayedDeliveryService = delayedDeliveryService;
     _deliveryRetryStrategy = deliveryRetryStrategy;
 }
Пример #5
0
 public MessagePump(EnableDeadLetteringOnMessageExpirationSetting enableDeadLetteringOnMessageExpiration,
                    MaxDeliveryAttemptSetting maxDeliveryAttempts,
                    IClock clock,
                    IDeadLetterOffice deadLetterOffice,
                    IDelayedDeliveryService delayedDeliveryService,
                    IDeliveryRetryStrategy deliveryRetryStrategy,
                    IDispatchContextManager dispatchContextManager,
                    ILogger logger,
                    IMessageDispatcher messageDispatcher,
                    INimbusMessageReceiver receiver)
 {
     _enableDeadLetteringOnMessageExpiration = enableDeadLetteringOnMessageExpiration;
     _maxDeliveryAttempts = maxDeliveryAttempts;
     _clock = clock;
     _dispatchContextManager = dispatchContextManager;
     _logger                 = logger;
     _messageDispatcher      = messageDispatcher;
     _receiver               = receiver;
     _deadLetterOffice       = deadLetterOffice;
     _delayedDeliveryService = delayedDeliveryService;
     _deliveryRetryStrategy  = deliveryRetryStrategy;
 }