activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r426117 - /incubator/activemq/site/i-do-not-receive-messages-in-my-second-consumer.html
Date Thu, 27 Jul 2006 16:15:02 GMT
Author: chirino
Date: Thu Jul 27 09:15:01 2006
New Revision: 426117

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

Modified:
    incubator/activemq/site/i-do-not-receive-messages-in-my-second-consumer.html

Modified: incubator/activemq/site/i-do-not-receive-messages-in-my-second-consumer.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/i-do-not-receive-messages-in-my-second-consumer.html?rev=426117&r1=426116&r2=426117&view=diff
==============================================================================
--- incubator/activemq/site/i-do-not-receive-messages-in-my-second-consumer.html (original)
+++ incubator/activemq/site/i-do-not-receive-messages-in-my-second-consumer.html Thu Jul 27
09:15:01 2006
@@ -274,8 +274,7 @@
 <!--          
             <div class="pagetitle">I do not receive messages in my second consumer</div>
 -->
-            <DIV class="wiki-content">
-<H3><A name="Idonotreceivemessagesinmysecondconsumer-Scenario"></A>Scenario</H3>
+            <DIV class="wiki-content"><H3><A name="Idonotreceivemessagesinmysecondconsumer-Scenario"></A>Scenario</H3>
 
 <UL>
 	<LI>You send 100 messages to a queue.</LI>
@@ -288,7 +287,7 @@
 
 <H3><A name="Idonotreceivemessagesinmysecondconsumer-Answer"></A>Answer</H3>
 
-<P>This is to do with pre-fetch buffers.</P>
+<P>This is to do with <A href="what-is-the-prefetch-limit-for.html" title="What
is the prefetch limit for">prefetch buffers</A>.</P>
 
 <P>ActiveMQ will try and deliver a number of messages to each consumer as soon as possible
to achive maximum throughput. That means that each consumer typically has 100-1000 messages
in RAM ready to be processed so that there is no latency waiting for another messsage to arrive
under periods of high throughput of messages.</P>
 
@@ -300,7 +299,10 @@
 </UL>
 
 
-<P>The solution to this problem is to configure the pre-fetch value to something smaller,
start the consumers together or publish the messages after the consumers have started.</P>
+<P>The solution to this problem is to configure the pre-fetch value to something smaller
- such as 1, start the consumers together or publish the messages after the consumers have
started.</P>
+
+<P>You can also change the dispatch policy to ensure round robin dispatch (see below).</P>
+
 
 <H3><A name="Idonotreceivemessagesinmysecondconsumer-Seealso"></A>See also</H3>
 
@@ -317,8 +319,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 Dec 12, 2005
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=117&originalId=1672">view
change</A>)
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James
Strachan</A> on Jul 27, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=117&originalId=9306">view
change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=117">edit
page</A>)
     </DIV>



Mime
View raw message