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 | 2ddde555a55373293c4b900eb0ff4d9c431f3606 (patch) | |
| tree | e7a74f38fc355889154588ab1b13bb98e42a47d7 /qpid/doc/book/src/Programming-In-Apache-Qpid.xml | |
| parent | 7c1a3741c5ee9d9e1f0d23355b446b4da76e190f (diff) | |
| download | qpid-python-2ddde555a55373293c4b900eb0ff4d9c431f3606.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@961664 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/doc/book/src/Programming-In-Apache-Qpid.xml')
| -rw-r--r-- | qpid/doc/book/src/Programming-In-Apache-Qpid.xml | 44 |
1 files changed, 31 insertions, 13 deletions
diff --git a/qpid/doc/book/src/Programming-In-Apache-Qpid.xml b/qpid/doc/book/src/Programming-In-Apache-Qpid.xml index 9a4907fe87..accda8866d 100644 --- a/qpid/doc/book/src/Programming-In-Apache-Qpid.xml +++ b/qpid/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><