activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1129741 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java
Date Tue, 31 May 2011 15:10:50 GMT
Author: dejanb
Date: Tue May 31 15:10:50 2011
New Revision: 1129741

URL: http://svn.apache.org/viewvc?rev=1129741&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3341 - reseting destination map

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java?rev=1129741&r1=1129740&r2=1129741&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java
Tue May 31 15:10:50 2011
@@ -219,4 +219,11 @@ public class DestinationMap {
             }
         }
     }
+
+    public void reset() {
+        queueRootNode = new DestinationMapNode(null);
+        tempQueueRootNode = new DestinationMapNode(null);
+        topicRootNode = new DestinationMapNode(null);
+        tempTopicRootNode = new DestinationMapNode(null);
+    }
 }



Mime
View raw message