2

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.

Raghuveer Rao
  • 147
  • 1
  • 1
  • 10
  • Could you please add a little more detail.. the background context.. why such a need arose ? – Vicky Mar 22 '12 at 05:29

2 Answers2

0

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

Joshua Moore
  • 24,706
  • 6
  • 50
  • 73
0

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

Regunath B
  • 36
  • 1