public RecoverabilityExecutorFactory( Func <RecoverabilityConfig, ErrorContext, RecoverabilityAction> defaultRecoverabilityPolicy, RecoverabilityConfig configuration, Func <string, DelayedRetryExecutor> delayedRetryExecutorFactory, Func <string, MoveToErrorsExecutor> moveToErrorsExecutorFactory, bool immediateRetriesAvailable, bool delayedRetriesAvailable, INotificationSubscriptions <MessageToBeRetried> messageRetryNotification, INotificationSubscriptions <MessageFaulted> messageFaultedNotification) { this.configuration = configuration; this.defaultRecoverabilityPolicy = defaultRecoverabilityPolicy; this.delayedRetryExecutorFactory = delayedRetryExecutorFactory; this.moveToErrorsExecutorFactory = moveToErrorsExecutorFactory; this.immediateRetriesAvailable = immediateRetriesAvailable; this.delayedRetriesAvailable = delayedRetriesAvailable; this.messageRetryNotification = messageRetryNotification; this.messageFaultedNotification = messageFaultedNotification; }
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 MainPipelineExecutor(IServiceProvider rootBuilder, IPipelineCache pipelineCache, MessageOperations messageOperations, INotificationSubscriptions <ReceivePipelineCompleted> receivePipelineNotification, Pipeline <ITransportReceiveContext> receivePipeline) { this.rootBuilder = rootBuilder; this.pipelineCache = pipelineCache; this.messageOperations = messageOperations; this.receivePipelineNotification = receivePipelineNotification; this.receivePipeline = receivePipeline; }