Exemple #1
0
 public RetryProcessor(ISendMessages sender, IBus bus, ReturnToSenderDequeuer returnToSender, RetryOperationManager retryOperationManager)
 {
     this.sender                = sender;
     this.bus                   = bus;
     this.returnToSender        = returnToSender;
     this.retryOperationManager = retryOperationManager;
 }
 public RetryProcessor(ISendMessages sender, IBus bus, ReturnToSenderDequeuer returnToSender, RetryingManager retryingManager)
 {
     this.sender                    = sender;
     this.bus                       = bus;
     this.returnToSender            = returnToSender;
     this.retryingManager           = retryingManager;
     corruptedReplyToHeaderStrategy = new CorruptedReplyToHeaderStrategy(RuntimeEnvironment.MachineName);
 }
Exemple #3
0
 public RetryProcessor(IDispatchMessages sender, IDomainEvents domainEvents, ReturnToSenderDequeuer returnToSender, RetryingManager retryingManager)
 {
     this.sender                    = sender;
     this.returnToSender            = returnToSender;
     this.retryingManager           = retryingManager;
     this.domainEvents              = domainEvents;
     corruptedReplyToHeaderStrategy = new CorruptedReplyToHeaderStrategy(RuntimeEnvironment.MachineName);
 }
 public RetryProcessor(IBodyStorage bodyStorage, ISendMessages sender, IDocumentStore store, IBus bus, ReturnToSenderDequeuer returnToSender)
 {
     executor = new PeriodicExecutor(Process, TimeSpan.FromSeconds(30), ex => Log.Error("Error during retry batch processing", ex));
     this.bodyStorage = bodyStorage;
     this.sender = sender;
     this.store = store;
     this.bus = bus;
     this.returnToSender = returnToSender;
 }
Exemple #5
0
 public StartupTask(ReturnToSenderDequeuer returnToSenderDequeuer)
 {
     this.returnToSenderDequeuer = returnToSenderDequeuer;
 }