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

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -