qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Qpid > Prefetch
Date Wed, 02 Sep 2009 13:31:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=qpid&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/qpid/Prefetch">Prefetch</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~aidan">Aidan
Skinner</a>
    </h4>
     
          <br/>
     <div class="notificationGreySide">
         <p>AMQP supports prefetch which specifies how many messages the client wishes
to cache for delivery. The method Session.setDefaultPrefetch(int) allows a default value to
be configured at the session level and extra varients of the createConsumer() method exist
allowing it to be specified at the point of consumer construction. It can also be specified
as part of the <a href="/confluence/display/qpid/Connection+URL+Format" title="Connection
URL Format">Connection URL</a>. It can be configured with the <a href="/confluence/display/qpid/System+Properties#SystemProperties-SystemPropertiesIMMEDIATEPREFETCH">IMMEDIATE_PREFETCH
System property</a></p>


<p>By default, the number of messages which will be filled by the broker on any particular
client is 5000. </p>

<p>It is important to consider the implications of prefetch if you wish to <a href="/confluence/display/qpid/Use+Priority+Queues"
title="Use Priority Queues">Use Priority Queues</a>.</p>
     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/qpid/Prefetch">View Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=2853049&revisedVersion=2&originalVersion=1">View
Change</a>
              |
       <a href="http://cwiki.apache.org/confluence/display/qpid/Prefetch?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message