示例#1
0
 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);
 }
示例#2
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);
 }