public ReclassifyErrorsHandler(IBus bus, IDocumentStore store, ShutdownNotifier notifier, IEnumerable <IFailureClassifier> classifiers)
        {
            this.bus         = bus;
            this.store       = store;
            this.classifiers = classifiers;

            reclassifier = new Reclassifier(notifier);
        }
        public ReclassifyErrorsHandler(IBus bus, IDocumentStore store, ShutdownNotifier notifier, IEnumerable <IFailureClassifier> classifiers)
        {
            this.bus         = bus;
            this.store       = store;
            this.classifiers = classifiers;

            notifier.Register(() => { abort = true; });
        }
 public RetryDocumentManager(ShutdownNotifier notifier, IDocumentStore store)
 {
     this.store = store;
     notifier.Register(() => { abort = true; });
 }
        public ReclassifyErrorsHandler(IDocumentStore store, IDomainEvents domainEvents, ShutdownNotifier notifier, IEnumerable <IFailureClassifier> classifiers)
        {
            this.store        = store;
            this.classifiers  = classifiers;
            this.domainEvents = domainEvents;

            reclassifier = new Reclassifier(notifier);
        }
Beispiel #5
0
 internal Reclassifier(ShutdownNotifier notifier)
 {
     notifier?.Register(() => { abort = true; });
 }