I am using Spring-Batch now for 3 - 4 months and I can call my self that I am aware of basic concepts used in this project.
I just wanted to ask, by your opinion, what would be the best way to implement ItemReader, so I can use chunk processing, in order to fetch mail messages from POP3 account.
I have a feature to connect to mail server, fetch mails, to process it in a way that identified if mail message is bounce, process it and after it put it in some table in DB.
It is expected to have more then 10.000 of bounced email messages so You can assume that I am afraid that if I don't chunk it that this processing can lock a lot of machine resources.
Any idea ?