I have a spring batch job where in I use FlatFileItemReader and populate it to Pojo objects (items). My file has a footer line that gives me the number of records in the file. I need to validate that my List has that many objects.
I cannot do it through ItemProcessor as it gives me only one item at a time. Is there any other way to do such a validation in spring batch?
Thanks Paddy