diff options
| author | Gordon Sim <gsim@apache.org> | 2010-07-08 09:30:11 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-07-08 09:30:11 +0000 |
| commit | b092fe1cf8508f24d2f02f04606cda350a335d88 (patch) | |
| tree | cc262b5245e2a2b7dccc54f70243876d38493d68 /doc | |
| parent | 99e8ceb1f60b7ee258b160e35c9e4651a846682b (diff) | |
| download | qpid-python-b092fe1cf8508f24d2f02f04606cda350a335d88.tar.gz | |
Enabled prefetch for next receiver snippets, removed some confusion text on maps, minor clarifications on prefetch.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961664 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/book/src/Programming-In-Apache-Qpid.xml | 44 |
1 files changed, 31 insertions, 13 deletions
diff --git a/doc/book/src/Programming-In-Apache-Qpid.xml b/doc/book/src/Programming-In-Apache-Qpid.xml index 9a4907fe87..accda8866d 100644 --- a/doc/book/src/Programming-In-Apache-Qpid.xml +++ b/doc/book/src/Programming-In-Apache-Qpid.xml @@ -1475,7 +1475,13 @@ enable("qpid.messaging.io", DEBUG) Messaging API, a program can ask a session for the <quote>next receiver</quote>; that is, the receiver that is responsible for the next available message. The following example shows how this - is done in C++, Python, and .NET C#.</para> + is done in C++, Python, and .NET C#. + </para> + + <para>Note that to use this pattern you must enable prefetching + for each receiver of interest so that thebroker will send + messages before a fetch call is made. See + <xref linkend="prefetch"/> for more on this.</para> <example> <title>Receiving Messages from Multiple Sources</title> @@ -1484,7 +1490,9 @@ enable("qpid.messaging.io", DEBUG) <programlisting><