Esempio n. 1
0
        public override void Modify(HandlerChain chain, GenerationRules rules)
        {
            var timeSpans = _seconds.Select(x => x.Seconds()).ToArray();

            chain.OnExceptionOfType(_exceptionType)
            .RetryLater(timeSpans);
        }
Esempio n. 2
0
 public override void Modify(HandlerChain chain, GenerationRules rules)
 {
     chain.OnExceptionOfType(_exceptionType).RetryNow(_attempts);
 }
Esempio n. 3
0
 public override void Modify(HandlerChain chain, GenerationRules rules)
 {
     chain.OnExceptionOfType(_exceptionType).MoveToErrorQueue();
 }