I spring batch 1.1.x version, we could define a CompositeItemWriter with several item writers executed in sequence. These item writers can be an implementation of an ItemTransformerItemWriter allowing to have several processing/writing for the same chunk.
Did we lose this capability in 2.0.0? I cannot seem to find a way to couple an ItemProcessor with an ItemWriter.
The work-around that I found is injecting an ItemProcessor in my custom ItemWriter (following the old ItemTransformerItemWriter) model.
Do you agree? or is there a better way?