activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r382708 - /incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml
Date Fri, 03 Mar 2006 07:40:00 GMT
Author: jstrachan
Date: Thu Mar  2 23:39:59 2006
New Revision: 382708

URL: http://svn.apache.org/viewcvs?rev=382708&view=rev
Log:
added example of setting the pendingMessageLimitStrategy

Modified:
    incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml

Modified: incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml?rev=382708&r1=382707&r2=382708&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml
Thu Mar  2 23:39:59 2006
@@ -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>



Mime
View raw message