activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WhiteSock <whitesock1...@hotmail.com>
Subject ActiveMQ Daemon Threads
Date Mon, 15 Dec 2008 11:07:14 GMT

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.


Mime
View raw message