spring batch issues : split my output into differents files

37 Views Asked by At

Hi everyone im pretty new with spring and spring batch. I have a file in input with multiple row and data. I want to redirect the row in a specific file depending to the data in the row. Its something like filter row by data. I saw somewhere that we cant have multiple writer for a step. I dont want to read twice or more my input file. I should have 5 files outputs at the end with 1 intput file. Hope someone could help. Have a nice day :D

my idea was to make multiple steps with different writer and processor but that assume to read the same file N times and isnt very efficient :/

0

There are 0 best solutions below