Author: tabish
Date: Mon Mar 26 16:26:58 2012
New Revision: 1305433

URL: http://svn.apache.org/viewvc?rev=1305433&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQNET-375

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

Modified: 
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/State/ConnectionStateTracker.cs
URL: 
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/State/ConnectionStateTracker.cs?rev=1305433&r1=1305432&r2=1305433&view=diff
==============================================================================
--- 
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/State/ConnectionStateTracker.cs
 (original)
+++ 
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/State/ConnectionStateTracker.cs
 Mon Mar 26 16:26:58 2012
@@ -726,7 +726,7 @@ namespace Apache.NMS.ActiveMQ.State
             {
                 // leave a single instance in the cache
                 String id = pull.Destination + "::" + pull.ConsumerId;
-                messageCache.Add(id, pull);
+                messageCache[id] = pull;
             }
             return null;
         }


Reply via email to