activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1102308 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/TransactionContext.cs
Date Thu, 12 May 2011 13:58:20 GMT
Author: tabish
Date: Thu May 12 13:58:19 2011
New Revision: 1102308

URL: http://svn.apache.org/viewvc?rev=1102308&view=rev
Log:
https://issues.apache.org/jira/browse/AMQNET-326

For two phase TX commit the client should not
attempt to initiate a local rollback if an
exception occurs but leave that to the DTC.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/TransactionContext.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/TransactionContext.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/TransactionContext.cs?rev=1102308&r1=1102307&r2=1102308&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/TransactionContext.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/TransactionContext.cs
Thu May 12 13:58:19 2011
@@ -414,7 +414,6 @@ namespace Apache.NMS.ActiveMQ
                 {
                     Tracer.DebugFormat("Transaction[{0}] Commit failed with error: {1}",
                                        this.transactionId, ex.Message);
-                    AfterRollback();
                     try
                     {
                         this.connection.OnException(ex);



Mime
View raw message