skip-limit ignored for skippable exception thrown from writer

Posted by ck on Stack Overflow See other posts from Stack Overflow or by ck
Published on 2010-03-31T12:38:43Z Indexed on 2010/03/31 12:43 UTC
Read the original article Hit count: 329

Filed under:
|
|

i am working on a project with spring batch 2.0.2 and have skippable exception set up in the config.

for exceptions thrown from the processor everything works fine. it skips and once the limit is execeed the job fails (or stops).

for exceptions thrown from the writer (same chunk) it keeps skipping. the skip-limit doesnt seem to matter.

maybe i missunderstood and skipping and writer don't go together or maybe i am missing a configuration.

does anyone know how to skip issues - with a limit - within the writer properly?

© Stack Overflow or respective owner

Related posts about spring-batch

Related posts about java