8.2.1.4.4 Default Retry Behavior - Rollback
When a retryable exception occurs the default behavior is for the batch runtime to rollback the current chunk and re-process it with an item-count of 1 and a checkpoint policy of item. If the optional ChunkListener is configured on the step, the onError method is called before rollback. The default retry behaviorcanbeoverriddenbyconfiguringtheno-rollback-exception-classeselement. Seesection 8.2.1.4.5 for more information on specifying no-rollback exceptions.
------------------
ChunkListener.onError() method is currently not invoked for a retryable exception from reader.
RetryReadListener.onRetryReadException() method is correctly invoked.
On the other side, there is some overlapping between ChunkListener.onError() method and methods on various retry listeners. Especially when an application also configures retry listeners, ChunkListener.onError() becomes less important.
- clones
-
JBERET-148 ChunkListener.onError() method not invoked before retry rollback
- Resolved
- is incorporated by
-
JBEAP-14952 [GSS](7.1.z) Upgrade jberet to 1.2.6.Final
- Closed