adding vm cursor example in default config

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@820563 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2009-10-01 08:08:45 +00:00
parent 828e9d0368
commit b89f0d4669
1 changed files with 11 additions and 1 deletions

View File

@ -75,7 +75,17 @@
<vmCursor /> <vmCursor />
</pendingSubscriberPolicy> </pendingSubscriberPolicy>
</policyEntry> </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> </policyEntries>
</policyMap> </policyMap>
</destinationPolicy> </destinationPolicy>