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; }
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; }