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 | d483dd154ea5eb2279cf6e0348625e2db650084a (patch) | |
| tree | 4cb1a6335a75d222033a61e2a2381307a1c1de16 /qpid/doc | |
| parent | 8bb142ac66f5f4410e49b9e920aed2655c4f21e1 (diff) | |
| download | qpid-python-d483dd154ea5eb2279cf6e0348625e2db650084a.tar.gz | |
Correction to durability example.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@961667 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/doc')
| -rw-r--r-- | qpid/doc/book/src/Programming-In-Apache-Qpid.xml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/qpid/doc/book/src/Programming-In-Apache-Qpid.xml b/qpid/doc/book/src/Programming-In-Apache-Qpid.xml index b3471c0bd7..fcf8d8f220 100644 --- a/qpid/doc/book/src/Programming-In-Apache-Qpid.xml +++ b/qpid/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> |
