From e0081014bfd95140b0545ffc20e1d25558044a02 Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Tue, 15 Mar 2016 14:03:12 -0400 Subject: [PATCH] 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 --- .../java/org/apache/activemq/transport/nio/SelectorManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1adb92fafa..0e72a590cd 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; } });