You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by de...@apache.org on 2009/10/01 10:08:45 UTC

svn commit: r820563 - /activemq/trunk/assembly/src/release/conf/activemq.xml

Author: dejanb
Date: Thu Oct  1 08:08:45 2009
New Revision: 820563

URL: http://svn.apache.org/viewvc?rev=820563&view=rev
Log:
adding vm cursor example in default config

Modified:
    activemq/trunk/assembly/src/release/conf/activemq.xml

Modified: activemq/trunk/assembly/src/release/conf/activemq.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/conf/activemq.xml?rev=820563&r1=820562&r2=820563&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/conf/activemq.xml (original)
+++ activemq/trunk/assembly/src/release/conf/activemq.xml Thu Oct  1 08:08:45 2009
@@ -75,7 +75,17 @@
                     <vmCursor />
                   </pendingSubscriberPolicy>
                 </policyEntry>
-                <policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb" />
+                <policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb">
+                  <!-- Use VM cursor for better latency
+                       For more information, see:
+                       
+                       http://activemq.apache.org/message-cursors.html
+                       
+                  <pendingQueuePolicy>
+                    <vmQueueCursor/>
+                  </pendingQueuePolicy>
+                  -->
+                </policyEntry>
               </policyEntries>
             </policyMap>
         </destinationPolicy>