public override void Modify(HandlerChain chain, GenerationRules rules) { var timeSpans = _seconds.Select(x => x.Seconds()).ToArray(); chain.OnExceptionOfType(_exceptionType) .RetryLater(timeSpans); }
public override void Modify(HandlerChain chain, GenerationRules rules) { chain.OnExceptionOfType(_exceptionType).RetryNow(_attempts); }
public override void Modify(HandlerChain chain, GenerationRules rules) { chain.OnExceptionOfType(_exceptionType).MoveToErrorQueue(); }