activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r831111 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/RedeliveryPolicyTest.cs
Date Thu, 29 Oct 2009 22:08:59 GMT
Author: tabish
Date: Thu Oct 29 22:08:58 2009
New Revision: 831111

URL: http://svn.apache.org/viewvc?rev=831111&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQNET-137

Added IRedeliveryPolicy to NMS along with a default Redelivery policy for NMS providers to
use in their IConnectionFactory implementations.  Added the use of the default policy to NMS.ActiveMQ
and used that policy to control the redelivery delay in the MessageConsumers rollback method.

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/RedeliveryPolicyTest.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/RedeliveryPolicyTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/RedeliveryPolicyTest.cs?rev=831111&r1=831110&r2=831111&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/RedeliveryPolicyTest.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/RedeliveryPolicyTest.cs Thu
Oct 29 22:08:58 2009
@@ -1,6 +1,5 @@
 using System;
 using System.Collections.Generic;
-using System.Linq;
 using System.Text;
 using Apache.NMS;
 using Apache.NMS.Policies;
@@ -73,7 +72,7 @@
 
             policy.CollisionAvoidancePercent = 45;
 
-            Assert.IsTrue(policy.CollisionAvoidancePercent == 45);            
+            Assert.IsTrue(policy.CollisionAvoidancePercent == 45);
         }
 
         [Test]



Mime
View raw message