activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r826697 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp
Date Mon, 19 Oct 2009 15:21:35 GMT
Author: tabish
Date: Mon Oct 19 15:21:33 2009
New Revision: 826697

URL: http://svn.apache.org/viewvc?rev=826697&view=rev
Log:
Make the Commit and Rollback calls send the commands with response required so the Failover
Transport get its response map cleaned out.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp?rev=826697&r1=826696&r2=826697&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp
Mon Oct 19 15:21:33 2009
@@ -141,7 +141,7 @@
         this->transactionId.reset( NULL );
 
         // Commit the current Transaction
-        this->connection->oneway( info );
+        this->connection->syncRequest( info );
 
         this->afterCommit();
     }
@@ -175,7 +175,7 @@
         this->transactionId.reset( NULL );
 
         // Roll back the current Transaction
-        this->connection->oneway( info );
+        this->connection->syncRequest( info );
 
         this->afterRollback();
     }



Mime
View raw message