I have Spring batch job with following config:
@Bean
public Job myJob(Step step1, Step step2, Step step3) {
return jobs.get(\"myJob\").start(step1).next(step
When MyReader class throws MyException it is stopping the execution of the job without retrying
The retry policy is not applied to the item reader. So even if you declare an exception as retryable and that exception is thrown from the reader, the retry policy is not invoked.
The retry policy is only applied to the processor and writer.