RESOLVED - BATCH-608: JobExecutionListener.onInterrupt() is never called by spring batch framework
This commit is contained in:
@@ -134,6 +134,7 @@ public class SimpleJob extends AbstractJob {
|
||||
}
|
||||
catch (JobInterruptedException e) {
|
||||
execution.setStatus(BatchStatus.STOPPED);
|
||||
listener.onInterrupt(execution);
|
||||
rethrow(e);
|
||||
}
|
||||
catch (Throwable t) {
|
||||
|
||||
Reference in New Issue
Block a user