|
Re: From where comes all the listener threads? [message #663452 is a reply to message #663437] |
Tue, 05 April 2011 07:22 |
Eclipse User |
|
|
|
Originally posted by: juergen.schumacher.attensity.com
Good morning...
Am 05.04.2011, 07:06 Uhr, schrieb SMILANewBee <nils.thieme@unister.de>:
> Hello,
>
> we play around with the queue worker listener threads that receives
> messages from the internal queue and execute the workflow.
>
> If we set the number of these threads to 0, there are several
> QueueWorker-Listener that remain alive. We don't know where these
> threads come from.
>
> We have also noticed that we have more listener threads then we want to
> create. If we set the number of listener threads to 4 we have at least
> 10 additional queue worker listener threads. We evaluate this with
> VisualVM.
>
> Have you an idea where the additional threads are created?
No, I don't have an idea. I did a quick test in my dev environment and it
seems
to work as expected: If I set Threads="0" in all <Rule>s in
QueueWorkerListenerConfig.xml,
I don't get any "QueueWorker-Listener@..." threads at all, and with
Threads="1" I get
5 threads as there are 5 rules in the standard configuration. They even
adapt correctly
when I change the number of threads in the JMX console.
Where did you change the number of threads?
Cheers,
Juergen.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04130 seconds