Hi all 

I haven't well understood what would be the benefit of using 
the option <code>-Dorg.apache.activemq.UseDedicatedTaskRunner=true</code>
Reading the code i see the comment (TaskRunnerFactory):

<code>
        // If your OS/JVM combination has a good thread model, you may want
to avoid 
        // using a thread pool to run tasks and use a DedicatedTaskRunner
instead.
</code>

Ok, If I use a pool there's the risk that tasks have to wait for a thread to
be available,
but isn't it generally safer (no thread leaking can occur)?

Thanks for clarifying 
Francesco

-- 
View this message in context: 
http://www.nabble.com/DedicatedTaskRunner-question-tf3363213s2354.html#a9356467
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to