RESOLVED - BATCH-608: JobExecutionListener.onInterrupt() is never called by spring batch framework

This commit is contained in:
robokaso
2008-05-05 08:45:12 +00:00
parent 97e0c9478a
commit b684aab2db
2 changed files with 27 additions and 0 deletions

View File

@@ -134,6 +134,7 @@ public class SimpleJob extends AbstractJob {
}
catch (JobInterruptedException e) {
execution.setStatus(BatchStatus.STOPPED);
listener.onInterrupt(execution);
rethrow(e);
}
catch (Throwable t) {