How should running batch jobs be shutdown or stopped when the container has issued a shutdown? For example when running in WildFly what should happen to running jobs? Currently the server hangs until all batch jobs are complete.
One idea I had was to issue a JobOperator.stop() for each running execution.
Another option would be to interrupt the threads. This is probably the easiest solution.
Thoughts?
--
James R. Perkins