You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2010/07/08 11:30:49 UTC

svn commit: r961667 - /qpid/trunk/qpid/doc/book/src/Programming-In-Apache-Qpid.xml

Author: gsim
Date: Thu Jul  8 09:30:49 2010
New Revision: 961667

URL: http://svn.apache.org/viewvc?rev=961667&view=rev
Log:
Correction to durability example.

Modified:
    qpid/trunk/qpid/doc/book/src/Programming-In-Apache-Qpid.xml

Modified: qpid/trunk/qpid/doc/book/src/Programming-In-Apache-Qpid.xml
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/book/src/Programming-In-Apache-Qpid.xml?rev=961667&r1=961666&r2=961667&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/book/src/Programming-In-Apache-Qpid.xml (original)
+++ qpid/trunk/qpid/doc/book/src/Programming-In-Apache-Qpid.xml Thu Jul  8 09:30:49 2010
@@ -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("du
 Message message("Hello world!");
 message.setDurable(1);
 
-sender.send(Message("Hello world!"));
+sender.send(message);
 ]]></programlisting>
 <!--
 	  <para>Python:</para>



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org