diff options
author | Robert Gemmell <robbie@apache.org> | 2012-02-19 22:51:10 +0000 |
---|---|---|
committer | Robert Gemmell <robbie@apache.org> | 2012-02-19 22:51:10 +0000 |
commit | 64631af8f87435d8e8526a29cb609638aa02ea27 (patch) | |
tree | fc62ff292a62022d93dd7e84b339619c4ff2da62 | |
parent | f928e4f407cc362b20c19eeca7385978844dc892 (diff) | |
download | qpid-python-64631af8f87435d8e8526a29cb609638aa02ea27.tar.gz |
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
-rw-r--r-- | doc/book/src/Programming-In-Apache-Qpid.xml | 13 |
1 files 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 </entry> <entry> - -- + integer </entry> <entry> - The maximum number of pre-fetched messages per destination. + <para> + The maximum number of pre-fetched messages per consumer. If not specified, default value of 500 is used. + </para> + <para> + Note: You can also set the default per-consumer prefetch value on a client-wide basis by configuring the client using <link linkend="client-jvm-properties">Java system properties.</link> + </para> </entry> </row> <row> @@ -3550,7 +3555,7 @@ log4j.appender.console.layout.ConversionPattern=%t %d %p [%c{4}] %m%n <para>Some of these config options are available at all three levels (Ex. <varname>max_prefetch</varname>), while others are available only at JVM or connection level.</para> - <section> + <section id="client-jvm-properties"> <title>Qpid JVM Arguments</title> <table > @@ -3648,7 +3653,7 @@ log4j.appender.console.layout.ConversionPattern=%t %d %p [%c{4}] %m%n <entry>max_prefetch</entry> <entry>int</entry> <entry>500</entry> - <entry>Maximum number of messages to credits. <para>This could also be set per connection (see connection paramters) or per destination (see the <varname>capacity</varname> option under link properties in addressing).</para></entry> + <entry>Maximum number of pre-fetched messages per consumer. <para>This can also be defaulted for consumers created on a particular connection using the <link linkend="section-jms-connection-url">Connection URL</link> options, or per destination (see the <varname>capacity</varname> option under link properties in addressing)</para></entry> </row> <row> |