you got to peek at the code to get exact detail. see: https://github.com/apache/activemq/blob/trunk/activemq-client/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java?source=cc#L86
so it is either dedicated or shared (pooled) optimizeDispatch is per destination, and controls whether the sending thread gets to attempt dispatch, or whether this happens in a destination dispatch thread (which will use a task runner) - so this one is very specific. On 11 February 2014 11:06, khandelwalanuj <khandelwal.anu...@gmail.com> wrote: > Guys please respond !! > > Give me some idea about dedicated task runner. I am now totally confused > between > > *dedicated task runner > Pooled task runner > *and > o*ptimizedisaptch > * > > By making * org.apache.activemq.UseDedicatedTaskRunner=false * is it by > default enable pooledtaskrunner or it's just disable desicatedtaskrunner ? > What does it exactly do ? > > Thanks, > Anuj > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/What-is-the-effect-of-dedicatedTaskRunner-Attribute-tp2363191p4677773.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://redhat.com http://blog.garytully.com