Issue Details (XML | Word | Printable)

Key: BATCH-661
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Robert Kasanicky
Reporter: Robert Kasanicky
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring Batch

broken job interruption logic

Created: 11/Jun/08 03:26 AM   Updated: 07/Aug/08 10:07 AM
Component/s: Core
Affects Version/s: 1.0.1
Fix Version/s: 1.1.0

Time Tracking:
Not Specified

Issue Links:
Related
 


 Description  « Hide
Currenlty jobExecution#stop() is implemented by setting the "terminateOnly" flag on all step executions created so far. Therefore in case stop() is called e.g. in StepListener#afterStep(..) it has no effect on the following steps. Also the terminateOnly flag is checked only in ItemOrientedStep so a job consisting of arbitrary number of TaskletSteps can't be stopped unless the Tasklet implementations support interruption.

 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
Robert Kasanicky added a comment - 11/Jun/08 03:26 AM

Robert Kasanicky added a comment - 12/Jun/08 03:21 AM
SimpleJob now checks for interrupt before starting a step

Dave Syer added a comment - 07/Aug/08 10:07 AM
Assume closed as resolved and released