Announcement Announcement Module
Collapse
No announcement yet.
Stopping and restarting jobs in osgi environments Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stopping and restarting jobs in osgi environments

    Hi all,

    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?

    Kind regards

    Dirk
Working...
X