spring batch - Disable Retry When commitInterval = 1 -
the behavior batch processing of our business entities rollback failed transaction , not try again. have read through forum , appears not possible. have set commitinterval=1 , tried never retry policy special case no avail. have read rational writer not know if list of items received initial or subsequent processing in case of failure.
have summarized correctly , spring batch not support behavior looking for?
sounds candidate skip logic
https://docs.spring.io/spring-batch/reference/html/configurestep.html
check out these 2 sections in particular:
- 5.1.5 configuring skip logic
- 5.1.7 controlling rollback
Comments
Post a Comment