activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1532348 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.6.x/src/main/csharp/NetTxTransactionContext.cs
Date Tue, 15 Oct 2013 14:18:34 GMT
Author: tabish
Date: Tue Oct 15 14:18:33 2013
New Revision: 1532348

URL: http://svn.apache.org/r1532348
Log:
Fix for: https://issues.apache.org/jira/browse/AMQNET-450

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.6.x/src/main/csharp/NetTxTransactionContext.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.6.x/src/main/csharp/NetTxTransactionContext.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.6.x/src/main/csharp/NetTxTransactionContext.cs?rev=1532348&r1=1532347&r2=1532348&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.6.x/src/main/csharp/NetTxTransactionContext.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.6.x/src/main/csharp/NetTxTransactionContext.cs
Tue Oct 15 14:18:33 2013
@@ -196,7 +196,7 @@ namespace Apache.NMS.ActiveMQ
                     info.Type = (int)TransactionType.End;
 
                     this.connection.CheckConnected();
-                    this.connection.SyncRequest(info.Clone());
+                    this.connection.SyncRequest((TransactionInfo) info.Clone());
 
                     // Prepare the Transaction for commit.
                     info.Type = (int)TransactionType.Prepare;
@@ -214,7 +214,7 @@ namespace Apache.NMS.ActiveMQ
 
                         // if server responds that nothing needs to be done, then reply done.
                         // otherwise the DTC will call Commit or Rollback but another transaction
-                        // can already be in progress and this one would be commited or rolled
back 
+                        // can already be in progress and this one would be commited or rolled
back
                         // immediately.
                         preparingEnlistment.Done();
 
@@ -495,7 +495,7 @@ namespace Apache.NMS.ActiveMQ
         /// Should be called from NetTxSession when created to check if any TX
         /// data is stored for recovery and whether the Broker has matching info
         /// stored.  If an Transaction is found that belongs to this client and is
-        /// still alive on the Broker it will be recovered, otherwise the stored 
+        /// still alive on the Broker it will be recovered, otherwise the stored
         /// data should be cleared.
         /// </summary>
         public void InitializeDtcTxContext()
@@ -515,7 +515,7 @@ namespace Apache.NMS.ActiveMQ
             if (recoverables.Length == 0)
             {
                 Tracer.Debug("Did not detect any recoverable transactions at Broker.");
-                // Broker has no recoverable data so nothing to do here, delete the 
+                // Broker has no recoverable data so nothing to do here, delete the
                 // old recovery log as its stale.
                 RecoveryLogger.Purge();
                 return;



Mime
View raw message