public RecoverabilityExecutor(bool raiseRecoverabilityNotifications, bool immediateRetriesAvailable, bool delayedRetriesAvailable, Func<RecoverabilityConfig, ErrorContext, RecoverabilityAction> recoverabilityPolicy, RecoverabilityConfig configuration, IEventAggregator eventAggregator, DelayedRetryExecutor delayedRetryExecutor, MoveToErrorsExecutor moveToErrorsExecutor) { this.configuration = configuration; this.recoverabilityPolicy = recoverabilityPolicy; this.eventAggregator = eventAggregator; this.delayedRetryExecutor = delayedRetryExecutor; this.moveToErrorsExecutor = moveToErrorsExecutor; this.immediateRetriesAvailable = immediateRetriesAvailable; this.delayedRetriesAvailable = delayedRetriesAvailable; raiseNotifications = raiseRecoverabilityNotifications; }
public RecoverabilityExecutor( bool raiseRecoverabilityNotifications, bool immediateRetriesAvailable, bool delayedRetriesAvailable, Func <RecoverabilityConfig, ErrorContext, RecoverabilityAction> recoverabilityPolicy, RecoverabilityConfig configuration, DelayedRetryExecutor delayedRetryExecutor, MoveToErrorsExecutor moveToErrorsExecutor, INotificationSubscriptions <MessageToBeRetried> messageRetryNotification, INotificationSubscriptions <MessageFaulted> messageFaultedNotification) { this.configuration = configuration; this.recoverabilityPolicy = recoverabilityPolicy; this.delayedRetryExecutor = delayedRetryExecutor; this.moveToErrorsExecutor = moveToErrorsExecutor; this.messageRetryNotification = messageRetryNotification; this.messageFaultedNotification = messageFaultedNotification; this.immediateRetriesAvailable = immediateRetriesAvailable; this.delayedRetriesAvailable = delayedRetriesAvailable; raiseNotifications = raiseRecoverabilityNotifications; }
public RecoverabilityExecutor(bool raiseRecoverabilityNotifications, bool immediateRetriesAvailable, bool delayedRetriesAvailable, Func <RecoverabilityConfig, ErrorContext, RecoverabilityAction> recoverabilityPolicy, RecoverabilityConfig configuration, IEventAggregator eventAggregator, DelayedRetryExecutor delayedRetryExecutor, MoveToErrorsExecutor moveToErrorsExecutor) { this.configuration = configuration; this.recoverabilityPolicy = recoverabilityPolicy; this.eventAggregator = eventAggregator; this.delayedRetryExecutor = delayedRetryExecutor; this.moveToErrorsExecutor = moveToErrorsExecutor; this.immediateRetriesAvailable = immediateRetriesAvailable; this.delayedRetriesAvailable = delayedRetriesAvailable; raiseNotifications = raiseRecoverabilityNotifications; }