Hi Folks, I am new to Spring Batch. I have a requirement to map and load files to a DB. My only question is that the driver will be a directory that can contain 0 to about 25 files per day. The files are large so I would like to process them FIFO and use chunking to maintain a small (smaller) memory footprint (if I understand chunking properly). I could use a script to execute Spring Batch for each file on a given day but stopping starting the JVM up to 25 times makes me want to look at options. Is Spring Batch designed to support processing recursion? Could I create a Tasklet to return the next file and then do some processing and then at the end have another Tasklet check if another file is present and loop back? If so, would this adversely affect a proper rollback/restart?
Announcement Announcement Module
No announcement yet.
Input file recursion within a job instance Page Title Module
Move Remove Collapse