You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by js...@apache.org on 2006/03/08 12:02:42 UTC

svn commit: r384181 - /incubator/activemq/trunk/assembly/src/test/resources/org/apache/activemq/usecases/activemq.xml

Author: jstrachan
Date: Wed Mar  8 03:02:40 2006
New Revision: 384181

URL: http://svn.apache.org/viewcvs?rev=384181&view=rev
Log:
added slow consumer config

Modified:
    incubator/activemq/trunk/assembly/src/test/resources/org/apache/activemq/usecases/activemq.xml

Modified: incubator/activemq/trunk/assembly/src/test/resources/org/apache/activemq/usecases/activemq.xml
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/src/test/resources/org/apache/activemq/usecases/activemq.xml?rev=384181&r1=384180&r2=384181&view=diff
==============================================================================
--- incubator/activemq/trunk/assembly/src/test/resources/org/apache/activemq/usecases/activemq.xml (original)
+++ incubator/activemq/trunk/assembly/src/test/resources/org/apache/activemq/usecases/activemq.xml Wed Mar  8 03:02:40 2006
@@ -31,6 +31,13 @@
             </subscriptionRecoveryPolicy>
           </policyEntry>
 
+          <!-- lets force old messages to be discarded for slow consumers -->
+          <policyEntry topic="Prices.>">
+            <pendingMessageLimitStrategy>
+              <constantPendingMessageLimitStrategy value="0"/>
+            </pendingMessageLimitStrategy>
+          </policyEntry>
+
       </policyEntries></policyMap>
     </destinationPolicy>