My application is going to be called by a CRON job to do some background processing and I am using Spring Batch to wire up what processing needs to be done. I found that even after all my jobs are run, my application does not exit. I need to do a System.exit(0) to force the application to stop. This doesn't seem right. How can I shutdown spring batch when I'm done with it so my application can exit?
How do you shutdown spring batch and allow an application to exit? Page Title Module
Move Remove Collapse