spring batch - Custom ItemReader to return more than one rows[based on some column value] to ItemProcessor -
i have file multiple rows. need read more 1 rows based on column value , pass processor list.
sample input file is:
2|joe|24|ca 2|sam|32|ma 2|joe|44|ca 3|amy|21|ca
the file sorted based on first field.
i wanted pass first 3 rows processor list<item>
last row separate list<item>
is can customitemreader?
regards, shankar
Comments
Post a Comment