Esempio n. 1
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;
 }
Esempio n. 2
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;
 }
Esempio n. 3
0
 public static BusBuilderConfiguration WithDeliveryRetryStrategy(this BusBuilderConfiguration configuration, IDeliveryRetryStrategy deliveryRetryStrategy)
 {
     configuration.DeliveryRetryStrategy = deliveryRetryStrategy;
     return(configuration);
 }
 public static BusBuilderConfiguration WithDeliveryRetryStrategy(this BusBuilderConfiguration configuration, IDeliveryRetryStrategy deliveryRetryStrategy)
 {
     configuration.DeliveryRetryStrategy = deliveryRetryStrategy;
     return configuration;
 }