activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r657850 - /activemq/activemq-cpp/trunk/src/examples/main.cpp
Date Mon, 19 May 2008 15:25:16 GMT
Author: tabish
Date: Mon May 19 08:25:16 2008
New Revision: 657850

URL: http://svn.apache.org/viewvc?rev=657850&view=rev
Log:
cleaning up for release

Modified:
    activemq/activemq-cpp/trunk/src/examples/main.cpp

Modified: activemq/activemq-cpp/trunk/src/examples/main.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/examples/main.cpp?rev=657850&r1=657849&r2=657850&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/examples/main.cpp (original)
+++ activemq/activemq-cpp/trunk/src/examples/main.cpp Mon May 19 08:25:16 2008
@@ -275,7 +275,9 @@
         }
 
         // Commit all messages.
-        session->commit();
+        if( this->sessionTransacted ) {
+            session->commit();
+        }
 
         // No matter what, tag the count down latch until done.
         doneLatch.countDown();



Mime
View raw message