activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martyntay...@apache.org
Subject [1/4] activemq-6 git commit: fix maven plugin to wait until stop thread has been called by making thread non deamon
Date Wed, 14 Jan 2015 12:08:49 GMT
Repository: activemq-6
Updated Branches:
  refs/heads/master c98937c08 -> 260f579c1


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


Project: http://git-wip-us.apache.org/repos/asf/activemq-6/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-6/commit/5595e0a9
Tree: http://git-wip-us.apache.org/repos/asf/activemq-6/tree/5595e0a9
Diff: http://git-wip-us.apache.org/repos/asf/activemq-6/diff/5595e0a9

Branch: refs/heads/master
Commit: 5595e0a9fc2ef613beede95676b85417bbdf379d
Parents: 41fed21
Author: Andy Taylor <andytaylor@apache.org>
Authored: Tue Jan 13 15:07:41 2015 +0000
Committer: Andy Taylor <andytaylor@apache.org>
Committed: Wed Jan 14 09:09:58 2015 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/activemq/server/ActiveMQBootstrap.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-6/blob/5595e0a9/activemq-maven-plugin/src/main/java/org/apache/activemq/server/ActiveMQBootstrap.java
----------------------------------------------------------------------
diff --git a/activemq-maven-plugin/src/main/java/org/apache/activemq/server/ActiveMQBootstrap.java
b/activemq-maven-plugin/src/main/java/org/apache/activemq/server/ActiveMQBootstrap.java
index 49b16c8..ae7ecfb 100644
--- a/activemq-maven-plugin/src/main/java/org/apache/activemq/server/ActiveMQBootstrap.java
+++ b/activemq-maven-plugin/src/main/java/org/apache/activemq/server/ActiveMQBootstrap.java
@@ -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);
          }
       }


Mime
View raw message