fix maven plugin to wait until stop thread has been called by making thread non deamon

This commit is contained in:
Andy Taylor 2015-01-13 15:07:41 +00:00
parent 41fed219c0
commit 5595e0a9fc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}