mirror of https://github.com/apache/activemq.git
added example of setting the pendingMessageLimitStrategy
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382708 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2867249482
commit
4e28bcea8f
|
@ -49,6 +49,11 @@
|
|||
<subscriptionRecoveryPolicy>
|
||||
<timedSubscriptionRecoveryPolicy recoverDuration="10000" />
|
||||
</subscriptionRecoveryPolicy>
|
||||
|
||||
<!-- lets force old messages to be discarded for slow consumers -->
|
||||
<pendingMessageLimitStrategy>
|
||||
<constantPendingMessageLimitStrategy limit="10"/>
|
||||
</pendingMessageLimitStrategy>
|
||||
</policyEntry>
|
||||
</policyEntries>
|
||||
</policyMap>
|
||||
|
|
Loading…
Reference in New Issue