Relative Content

Tag Archive for javajsr352jberet

Stop chunk processing from a Processor or Writer

I do have batch jobs that perform chunk processing. This loop usually continues until the Reader has no more items to read and thus returns null. Or if at any point an Exception is thrown. In this case the batch job fails and the current transaction will be rolled back.