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>
|
||||
<policyMap>
|
||||
<policyEntries>
|
||||
<policyEntry topic=">" producerFlowControl="true" memoryLimit="1mb">
|
||||
<pendingSubscriberPolicy>
|
||||
<vmCursor />
|
||||
</pendingSubscriberPolicy>
|
||||
<policyEntry topic=">" producerFlowControl="true">
|
||||
<!-- The constantPendingMessageLimitStrategy is used to prevent
|
||||
slow topic consumers to block producers and affect other consumers
|
||||
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 queue=">" producerFlowControl="true" memoryLimit="1mb">
|
||||
<!-- Use VM cursor for better latency
|
||||
|
|
Loading…
Reference in New Issue