activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1235530 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/TopicRegion.java
Date Tue, 24 Jan 2012 22:18:30 GMT
Author: tabish
Date: Tue Jan 24 22:18:29 2012
New Revision: 1235530

URL: http://svn.apache.org/viewvc?rev=1235530&view=rev
Log:
Add fix : https://issues.apache.org/jira/browse/AMQ-3674

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/TopicRegion.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/TopicRegion.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/TopicRegion.java?rev=1235530&r1=1235529&r2=1235530&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/TopicRegion.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/TopicRegion.java
Tue Jan 24 22:18:29 2012
@@ -179,7 +179,7 @@ public class TopicRegion extends Abstrac
         if (sub.isActive()) {
             throw new JMSException("Durable consumer is in use");
         } else {
-            durableSubscriptions.get(key);
+            durableSubscriptions.remove(key);
         }
 
         destinationsLock.readLock().lock();



Mime
View raw message