|
@@ -195,6 +195,7 @@ public class AsyncDispatcher extends AbstractService implements Dispatcher {
|
|
if (exitOnDispatchException
|
|
if (exitOnDispatchException
|
|
&& (ShutdownHookManager.get().isShutdownInProgress()) == false
|
|
&& (ShutdownHookManager.get().isShutdownInProgress()) == false
|
|
&& stopped == false) {
|
|
&& stopped == false) {
|
|
|
|
+ stopped = true;
|
|
Thread shutDownThread = new Thread(createShutDownThread());
|
|
Thread shutDownThread = new Thread(createShutDownThread());
|
|
shutDownThread.setName("AsyncDispatcher ShutDown handler");
|
|
shutDownThread.setName("AsyncDispatcher ShutDown handler");
|
|
shutDownThread.start();
|
|
shutDownThread.start();
|