Retry strategies in Spring Batch 2.0 allow chunk reprocessing under several fails. However, there is no core support to Tasklet steps retry and so, AOP techniques must be used.
Below both retry patterns (chunk and tasklet) are exposed.
Chunk retry: retry three times if some exception occurs on “chunk” execution
java.lang.Exception
Tasklet retry: retry three times if some exception occurs on “tasklet” execution
java.lang.Exception