activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r955621 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
Date Thu, 17 Jun 2010 14:56:23 GMT
Author: dejanb
Date: Thu Jun 17 14:56:23 2010
New Revision: 955621

URL: http://svn.apache.org/viewvc?rev=955621&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-2782 - removing temp destinations over the network

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java?rev=955621&r1=955620&r2=955621&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
Thu Jun 17 14:56:23 2010
@@ -241,7 +241,7 @@ public class AdvisoryBroker extends Brok
         if (!AdvisorySupport.isAdvisoryTopic(dest)) {
             ActiveMQTopic topic = AdvisorySupport.getConsumerAdvisoryTopic(dest);
             consumers.remove(info.getConsumerId());
-            if (!dest.isTemporary() || destinations.contains(dest)) {
+            if (!dest.isTemporary() || destinations.containsKey(dest)) {
             	fireConsumerAdvisory(context,dest, topic, info.createRemoveCommand());
             }
         }



Mime
View raw message