Question

We need to change an already running job. We should be able to push the job change without restarting the server.

Is it possible to reload a Spring batch job after the jobs / application context has been loaded.

Was it helpful?

Solution

The DefaultJobLoader allows you to reload the application context for your jobs.

OTHER TIPS

Dynamic job deployment and editing of deployed job configurations (without requiring a server restart) is a feature we implemented in Trooper Batch profile (built on Spring Batch and Spring Batch admin). Screen shots are here : https://github.com/regunathb/Trooper/wiki/Writing-Batch-jobs-in-Trooper

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top