I have a file with multiple rows. I need to read more than one rows based on some column value and pass it to Processor as List.
Sample Input file is:
The file is sorted based on first field.
I wanted to pass first three rows to processor as
List<item> then last row as separate
Is it something we can do with CustomItemReader?