commit | 9e8ed0138e726b3f28a6492b1ae1ae724b02ee01 | [log] [tgz] |
---|---|---|
author | Timothy A. Bish <tabish@apache.org> | Thu May 12 13:58:19 2011 +0000 |
committer | Timothy A. Bish <tabish@apache.org> | Thu May 12 13:58:19 2011 +0000 |
tree | b9830ad4e12e208947c97b2031063e59d2821414 | |
parent | 7b2ade2b8a328f87e7fdc0ae5ee049dae2269f19 [diff] |
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.
diff --git a/src/main/csharp/TransactionContext.cs b/src/main/csharp/TransactionContext.cs index c8b3ae5..9d9a7a5 100644 --- a/src/main/csharp/TransactionContext.cs +++ b/src/main/csharp/TransactionContext.cs
@@ -414,7 +414,6 @@ { Tracer.DebugFormat("Transaction[{0}] Commit failed with error: {1}", this.transactionId, ex.Message); - AfterRollback(); try { this.connection.OnException(ex);