diff options
| author | Gordon Sim <gsim@apache.org> | 2010-07-08 09:30:49 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-07-08 09:30:49 +0000 |
| commit | 1c6be08f6cac79be67e264485bee33e36beb4171 (patch) | |
| tree | 19f498e071c89a11a8e4b414dcc5284f79996276 /doc | |
| parent | 565165cf4a654dd94a21883b0f7692996c497ed3 (diff) | |
| download | qpid-python-1c6be08f6cac79be67e264485bee33e36beb4171.tar.gz | |
Correction to durability example.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961667 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/book/src/Programming-In-Apache-Qpid.xml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/book/src/Programming-In-Apache-Qpid.xml b/doc/book/src/Programming-In-Apache-Qpid.xml index b3471c0bd7..fcf8d8f220 100644 --- a/doc/book/src/Programming-In-Apache-Qpid.xml +++ b/doc/book/src/Programming-In-Apache-Qpid.xml @@ -1997,12 +1997,11 @@ try: <para>If a queue is durable, the queue survives a messaging broker crash, as well as any durable messages that have been - placed on the queue. These messages will be delivered when the - messaging broker is restarted. Delivery is guaranteed if and - only if both the message and the queue are durable. Guaranteed - delivery requires a persistence module, such as the one - available from <ulink - url="http://QpidComponents.org">QpidComponents.org</ulink>.</para> + placed on the queue. These messages will be recovered for + delivery to subscribers when the messaging broker is + restarted. Guaranteed delivery requires a persistence module, + such as the one available + from <ulink url="http://QpidComponents.org">QpidComponents.org</ulink>.</para> <example> <title>Guaranteed Delivery</title> @@ -2015,7 +2014,7 @@ Sender sender = session.createSender("durable-queue"); Message message("Hello world!"); message.setDurable(1); -sender.send(Message("Hello world!")); +sender.send(message); ]]></programlisting> <!-- <para>Python:</para> |
