fix maven plugin to wait until stop thread has been called by making thread non deamon
This commit is contained in:
parent
41fed219c0
commit
5595e0a9fc
|
@ -135,7 +135,7 @@ public class ActiveMQBootstrap
|
|||
{
|
||||
restartFile.delete();
|
||||
}
|
||||
final Timer timer = new Timer("ActiveMQ Server Shutdown Timer", true);
|
||||
final Timer timer = new Timer("ActiveMQ Server Shutdown Timer", false);
|
||||
timer.scheduleAtFixedRate(new ServerStopTimerTask(stopFile, killFile, restartFile, timer), 500, 500);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue