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

Conflicts:
	activemq-client/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java
This commit is contained in:
Timothy Bish 2016-03-15 14:03:12 -04:00
parent 0dc76e02aa
commit e0081014bf
1 changed files with 1 additions and 1 deletions

View File

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