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 | 9283607756b233b187f9d2f3b6c178ba9ce6402a (patch) | |
| tree | 1a5a809f3c88b9e165518b9d61be46e9bfddc164 | |
| parent | 32c23e810cab3b87b0faf485848216ad66766b78 (diff) | |
| download | qpid-python-9283607756b233b187f9d2f3b6c178ba9ce6402a.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@1291085 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | qpid/doc/book/src/Programming-In-Apache-Qpid.xml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/qpid/doc/book/src/Programming-In-Apache-Qpid.xml b/qpid/doc/book/src/Programming-In-Apache-Qpid.xml index 487fab6636..a15c70ed92 100644 --- a/qpid/doc/book/src/Programming-In-Apache-Qpid.xml +++ b/qpid/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> |
