Spring Batch - 发生可跳过异常时重复进程

时间:2016-09-28 15:50:15

标签: spring-batch

我的CSV文件包含以下数据:

1.a   <- skippable exception occurs
2.b   <- skippable exception occurs
3.1   <- process OK data
4.c   <- skippable exception occurs
5.d   <- skippable exception occurs

处理正常(无异常)数据时, ItemProcess重复此过程。

例如,在高级情况下,过程是这样的:

1.a 
2.b
3.1
4.c
3.1  <- This is my problem. Why does process repeat this data again?

我设置了skip-limit和commit-interval,但问题仍然存在。

我的弹簧批量配置中还有其他设置吗?

0 个答案:

没有答案