git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1327443 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2012-04-18 10:52:04 +00:00
parent 3df43f5886
commit 9287816fec
1 changed files with 2 additions and 1 deletions

View File

@ -211,7 +211,8 @@ public class ActiveMQConnection implements Connection, TopicConnection, QueueCon
executor = new ThreadPoolExecutor(1, 1, 5, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new ThreadFactory() {
public Thread newThread(Runnable r) {
Thread thread = new Thread(r, "ActiveMQ Connection Executor: " + transport);
thread.setDaemon(true);
//Don't make these daemon threads - see https://issues.apache.org/jira/browse/AMQ-796
//thread.setDaemon(true);
return thread;
}
});