As per spring batch docs they don't recommend using MuliResourceItemReader because of restart issue and recommend to use one file in each folder.
"It should be noted that, as with any ItemReader, adding extra input (in this case a file) could cause potential issues when restarting. It is recommended that batch jobs work with their own individual directories until completed successfully."
If I have a folder with following structure dest/<timestamp
>/file1.txt, file2.txt
How do I configure FlatFileItemReader to read a file with pattern for each folder in a path.