Lifecycle Information in Batchlet / ItemReader / ItemProcessor / ItemWriter
It looks like ItemReader
as the methods open()
, readItem()
, close()
so it knows about it’s lifecycle. The similar is the case for ItemWriter
. However ItemProcessor
and Batchlet
look completely agnostic.
Multiple ItemProcessors in JSR-352
To more flexibly juggle existing code for chunk based batchlet execution, I’d like to chain multiple item processors such that the output of one is the input of the next. The whole chunk step should look like
Multiple ItemProcessors in JSR-352
To more flexibly juggle existing code for chunk based batchlet execution, I’d like to chain multiple item processors such that the output of one is the input of the next. The whole chunk step should look like