You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by WhiteSock <wh...@hotmail.com> on 2008/12/15 12:07:14 UTC

ActiveMQ Daemon Threads

Hi all, 

    I want to use daemon threads in ActiveMQ 5.2, so I made the following
changes:

1 tcp://localhost:61616?daemon=true

2 ActiveMQConnection amqConnection = (ActiveMQConnection)connection;
   amqConnection.setSessionTaskRunner(new TaskRunnerFactory("ActiveMQ
Session Task", ThreadPriorities.INBOUND_CLIENT_SESSION, true, 1000));

   But I am uptight about theses changes. Could you please tell me whether
there is any side effects?

Am I on the right track?

Cheers.
-- 
View this message in context: http://www.nabble.com/ActiveMQ-Daemon-Threads-tp21011963p21011963.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.