activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1064771 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/NetTxRecoveryPolicy.cs
Date Fri, 28 Jan 2011 16:41:10 GMT
Author: tabish
Date: Fri Jan 28 16:41:09 2011
New Revision: 1064771

URL: http://svn.apache.org/viewvc?rev=1064771&view=rev
Log:
Set an initial default recovery logger and clean up a bit.

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

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/NetTxRecoveryPolicy.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/NetTxRecoveryPolicy.cs?rev=1064771&r1=1064770&r2=1064771&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/NetTxRecoveryPolicy.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/NetTxRecoveryPolicy.cs
Fri Jan 28 16:41:09 2011
@@ -33,13 +33,9 @@ namespace Apache.NMS.ActiveMQ
         private static readonly FactoryFinder<RecoveryLoggerFactoryAttribute, IRecoveryLoggerFactory>
FACTORY_FINDER =
             new FactoryFinder<RecoveryLoggerFactoryAttribute, IRecoveryLoggerFactory>();
 
-        private static IDictionary<String, Type> LOGGER_FACTORY_TYPES = new Dictionary<String,
Type>();
+        private static readonly IDictionary<String, Type> LOGGER_FACTORY_TYPES = new
Dictionary<String, Type>();
 
-        private IRecoveryLogger recoveryLogger;
-
-        public NetTxRecoveryPolicy()
-        {
-        }
+        private IRecoveryLogger recoveryLogger = new RecoveryFileLogger();
 
         public void RegisterRecoveryLoggerFactory(string scheme, Type factoryType)
         {



Mime
View raw message