mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3893 - adjust topic policy in default config
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352900 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
044b11918a
commit
dc35766d0e
|
@ -48,10 +48,18 @@
|
||||||
<destinationPolicy>
|
<destinationPolicy>
|
||||||
<policyMap>
|
<policyMap>
|
||||||
<policyEntries>
|
<policyEntries>
|
||||||
<policyEntry topic=">" producerFlowControl="true" memoryLimit="1mb">
|
<policyEntry topic=">" producerFlowControl="true">
|
||||||
<pendingSubscriberPolicy>
|
<!-- The constantPendingMessageLimitStrategy is used to prevent
|
||||||
<vmCursor />
|
slow topic consumers to block producers and affect other consumers
|
||||||
</pendingSubscriberPolicy>
|
by limiting the number of messages that are retained
|
||||||
|
For more information, see:
|
||||||
|
|
||||||
|
http://activemq.apache.org/slow-consumer-handling.html
|
||||||
|
|
||||||
|
-->
|
||||||
|
<pendingMessageLimitStrategy>
|
||||||
|
<constantPendingMessageLimitStrategy limit="1000"/>
|
||||||
|
</pendingMessageLimitStrategy>
|
||||||
</policyEntry>
|
</policyEntry>
|
||||||
<policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb">
|
<policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb">
|
||||||
<!-- Use VM cursor for better latency
|
<!-- Use VM cursor for better latency
|
||||||
|
|
Loading…
Reference in New Issue