You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/09/06 17:30:49 UTC

svn commit: r440733 - /incubator/activemq/site/what-is-the-prefetch-limit-for.html

Author: chirino
Date: Wed Sep  6 08:30:49 2006
New Revision: 440733

URL: http://svn.apache.org/viewvc?view=rev&rev=440733
Log:
Latest export from confluence

Modified:
    incubator/activemq/site/what-is-the-prefetch-limit-for.html

Modified: incubator/activemq/site/what-is-the-prefetch-limit-for.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/what-is-the-prefetch-limit-for.html?view=diff&rev=440733&r1=440732&r2=440733
==============================================================================
--- incubator/activemq/site/what-is-the-prefetch-limit-for.html (original)
+++ incubator/activemq/site/what-is-the-prefetch-limit-for.html Wed Sep  6 08:30:49 2006
@@ -298,6 +298,19 @@
 </UL>
 
 
+<P>It can also be configured on the connection URI used when establishing a connection the broker:</P>
+
+<P>To change the pretch size for all consumer types you would use a connection URI similar to:</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">tcp:<SPAN class="code-comment">//localhost:61616?jms.prefetchPolicy.all=50</SPAN></PRE>
+</DIV></DIV>
+
+<P>To change the pretch size for just queue consumer types you would use a connection URI similar to: </P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">tcp:<SPAN class="code-comment">//localhost:61616?jms.prefetchPolicy.queuePrefetch=1</SPAN></PRE>
+</DIV></DIV>
+
+
 <P>It can also be configured on a per consumer basis using <A href="destination-options.html" title="Destination Options">Destination Options</A>.</P>
 
 <DIV class="code"><DIV class="codeContent">
@@ -317,8 +330,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
-    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Jul 28, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=110&originalId=9331">view change</A>)
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=chirino">Hiram Chirino</A> on Sep 06, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=110&originalId=13512">view change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=110">edit page</A>)
     </DIV>