Is there a way to limit the number of jobs that are executing concurrently? I have a job that I want to limit to 1 instance processing at any given time. Any other instances would be queued until completed and then the next in line started.
Is there a way to limit the number of jobs that are executing concurrently? I have a job that I want to limit to 1 instance processing at any given time. Any other instances would be queued until completed and then the next in line started.
Your question seems to be outside the scope of the Spring Batch framework. It seems like you should be using your scheduler (or, perhaps, a custom JobLauncher) to control when, or if, a job is launched.