mirror of https://github.com/apache/activemq.git
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:
parent
0dc76e02aa
commit
e0081014bf
|
@ -51,7 +51,7 @@ public final class SelectorManager {
|
||||||
@Override
|
@Override
|
||||||
public Thread newThread(Runnable runnable) {
|
public Thread newThread(Runnable runnable) {
|
||||||
Thread t = new Thread(runnable, "ActiveMQ NIO Worker " + (i++));
|
Thread t = new Thread(runnable, "ActiveMQ NIO Worker " + (i++));
|
||||||
t.setDaemon(false);
|
t.setDaemon(true);
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue