activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject activemq git commit: https://issues.apache.org/jira/browse/AMQ-6108
Date Tue, 15 Mar 2016 18:06:17 GMT
Repository: activemq
Updated Branches:
  refs/heads/activemq-5.13.x 0dc76e02a -> e0081014b


https://issues.apache.org/jira/browse/AMQ-6108

Update the threads created by the SelectorManager to be daemon threads. 
(cherry picked from commit e2b4ca2c59a316be91cf391c758a10e518dd3a1f)

Conflicts:
	activemq-client/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java


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

Branch: refs/heads/activemq-5.13.x
Commit: e0081014bfd95140b0545ffc20e1d25558044a02
Parents: 0dc76e0
Author: Timothy Bish <tabish121@gmail.com>
Authored: Tue Mar 15 14:03:12 2016 -0400
Committer: Timothy Bish <tabish121@gmail.com>
Committed: Tue Mar 15 14:06:09 2016 -0400

----------------------------------------------------------------------
 .../java/org/apache/activemq/transport/nio/SelectorManager.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/e0081014/activemq-client/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java
----------------------------------------------------------------------
diff --git a/activemq-client/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java
b/activemq-client/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java
index 1adb92f..0e72a59 100644
--- a/activemq-client/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java
+++ b/activemq-client/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java
@@ -51,7 +51,7 @@ public final class SelectorManager {
                 @Override
                 public Thread newThread(Runnable runnable) {
                     Thread t = new Thread(runnable, "ActiveMQ NIO Worker " + (i++));
-                    t.setDaemon(false);
+                    t.setDaemon(true);
                     return t;
                 }
             });


Mime
View raw message