Hey,
So If I use this configuration : *"optimizedDispatch=true" and
"org.apache.activemq.UseDedicatedTaskRunner=true"
*
It means the sending thread will do dispatch, (There will not be a separate
thread for dispatch) and it will not use ActiveMQ thread pool (since I have
enabled dedicated task runner which is also in default configuration).
AND
I am not able to find the thread name for dispatch and send. I have attached
my thread trace here which is pasted below:
I have tested by disabling dedicated task runner in my setup but not found
any thread reduction.
Can you tell me which threads (THREAD NAME) are going to reduce in below
thread trace if I disable dedicatedTaskRunner ?
45 5 0 0 0 0 KahaDB Scheduler
46 5 16 16 10 10 ActiveMQ Journal
Checkpoint Worker
47 10 2 2 0 0 ActiveMQ Data File
Writer
48 5 1 1 0 0 KahaDB Scheduler
49 5 21 21 10 10 ActiveMQ Journal
Checkpoint Worker
50 10 2 2 0 0 ActiveMQ Data File
Writer
51 5 0 0 0 0 ActiveMQ Durable
Subscriber Cleanup Timer
53 5 19 19 10 10 StatsCollector-1
54 5 1 1 0 0 KahaDB Scheduler
55 10 4 4 0 0 ActiveMQ Data File
Writer
69 8 56 56 50 50 ActiveMQ Transport
Server Thread Handler:
tcp://0.0.0.0:61616?wireFormat.maxInactivityDuration=30000
70 9 6 6 0 0 ActiveMQ Transport
Server: tcp://0.0.0.0:61616?wireFormat.maxInactivityDuration=30000
71 8 6 6 0 0 ActiveMQ Transport
Server Thread Handler:
nio://0.0.0.0:61615?wireFormat.maxInactivityDuration=30000
72 9 11 11 0 0 ActiveMQ Transport
Server: nio://0.0.0.0:61615?wireFormat.maxInactivityDuration=30000
73 8 5 5 0 0 ActiveMQ Transport
Server Thread Handler:
stomp://0.0.0.0:61613?transport.defaultHeartBeat=5000,0
74 9 5 5 0 0 ActiveMQ Transport
Server: stomp://0.0.0.0:61613?transport.defaultHeartBeat=5000,0
75 8 5 5 0 0 ActiveMQ Transport
Server Thread Handler:
stomp+nio://0.0.0.0:61614?wireFormat.maxInactivityDuration=30000
76 9 8 8 0 0 ActiveMQ Transport
Server: stomp+nio://0.0.0.0:61614?wireFormat.maxInactivityDuration=30000
78 5 23 23 20 20 ActiveMQ
BrokerService[mqbrokerdev] Task-1
79 5 86 86 80 80 ActiveMQ
Transport: tcp:///*.*.*.*:57252@61616
80 5 28 28 20 20 ActiveMQ
BrokerService[mqbrokerdev] Task-2
81 5 2 2 0 0 ActiveMQ
InactivityMonitor ReadCheckTimer
82 5 6 6 0 0 ActiveMQ
InactivityMonitor WriteCheckTimer
83 5 10 10 0 0 ActiveMQ
Transport: tcp:///*.*.*.*:57261@61616
84 5 17 17 10 10 ActiveMQ
Transport: tcp:///*.*.*.*:57301@61616
85 5 20 20 10 10 ActiveMQ
Transport: tcp:///*.*.*.*:57306@61616
89 5 1 1 0 0 ActiveMQ
InactivityMonitor Worker
Thanks,
Anuj
--
View this message in context:
http://activemq.2283324.n4.nabble.com/What-is-the-effect-of-dedicatedTaskRunner-Attribute-tp2363191p4677848.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.