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:
James Strachan 2006-03-03 07:39:59 +00:00
parent 2867249482
commit 4e28bcea8f
1 changed files with 5 additions and 0 deletions

View File

@ -49,6 +49,11 @@
<subscriptionRecoveryPolicy> <subscriptionRecoveryPolicy>
<timedSubscriptionRecoveryPolicy recoverDuration="10000" /> <timedSubscriptionRecoveryPolicy recoverDuration="10000" />
</subscriptionRecoveryPolicy> </subscriptionRecoveryPolicy>
<!-- lets force old messages to be discarded for slow consumers -->
<pendingMessageLimitStrategy>
<constantPendingMessageLimitStrategy limit="10"/>
</pendingMessageLimitStrategy>
</policyEntry> </policyEntry>
</policyEntries> </policyEntries>
</policyMap> </policyMap>