merging 820563 - vm cursor example in default config

git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-5.3@820565 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2009-10-01 08:13:11 +00:00
parent e429dccc57
commit 4d511d901b
1 changed files with 11 additions and 1 deletions

View File

@ -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>