[ActiveMQ Tuning] Threading Optimizations

Source: Internet
Author: User

Abstract: ActiveMQ optimized thread Optimization

Address: http://fusesource.com/docs/broker/5.4/tuning/PersTuning-Threading.html

Optimized dispatch: In Broker configuration, you can set OptimizedDispatchIs TrueTo reduce the demand for Tread. In this way, the Broker will not use a dedicated thread for each target.

Example: set for all Queue destinationsOptimizedDispatchRefer to the following code

<Broker...>

<DestinationPolicy>
<PolicyMap>
<PolicyEntries>
<PolicyEntry queue = ">" optimizedDispatch = "true"/>
</PolicyEntries>
</PolicyMap>
</DestinationPolicy>
...
</Broker>

QueueIs a wildcard to adapt to all queue.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.