Oct 13th, 2010, 06:34 AM
Stopping and restarting jobs in osgi environments
I want to stop a job, as soon as a bundle stops. And I also want to restart the job, when I start the bundle.
1. On stopping the job, it remains in state 'STOPPING' (table batch_job_execution, field status).
2. When I ask JobOperator for running jobs on bundle start, the job, I wanted to stop in 1. is listed.
3. When restarting the job, it won't be executed.
Do I fundamentally misaunderstand spring batch or what to is wrong?
Tags for this Thread