From 64631af8f87435d8e8526a29cb609638aa02ea27 Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Sun, 19 Feb 2012 22:51:10 +0000 Subject: QPID-3679: correct Connection URL related documentation about prefetch to indicate prefetch is per-consumer. Cross-reference with the system property related prefetch configuration option. Applied patch from Praveen Murugesan with some changes from myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291085 13f79535-47bb-0310-9956-ffa450edef68 --- doc/book/src/Programming-In-Apache-Qpid.xml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/book/src/Programming-In-Apache-Qpid.xml b/doc/book/src/Programming-In-Apache-Qpid.xml index 487fab6636..a15c70ed92 100644 --- a/doc/book/src/Programming-In-Apache-Qpid.xml +++ b/doc/book/src/Programming-In-Apache-Qpid.xml @@ -3017,10 +3017,15 @@ destination.topicExchange = amq.topic maxprefetch - -- + integer - The maximum number of pre-fetched messages per destination. + + The maximum number of pre-fetched messages per consumer. If not specified, default value of 500 is used. + + + Note: You can also set the default per-consumer prefetch value on a client-wide basis by configuring the client using Java system properties. + @@ -3550,7 +3555,7 @@ log4j.appender.console.layout.ConversionPattern=%t %d %p [%c{4}] %m%n Some of these config options are available at all three levels (Ex. max_prefetch), while others are available only at JVM or connection level. -
+
Qpid JVM Arguments @@ -3648,7 +3653,7 @@ log4j.appender.console.layout.ConversionPattern=%t %d %p [%c{4}] %m%n max_prefetchint500 - Maximum number of messages to credits. This could also be set per connection (see connection paramters) or per destination (see the capacity option under link properties in addressing). + Maximum number of pre-fetched messages per consumer. This can also be defaulted for consumers created on a particular connection using the Connection URL options, or per destination (see the capacity option under link properties in addressing) -- cgit v1.2.1