You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/10/19 17:21:35 UTC
svn commit: r826697 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp
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();
}