mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2782 - removing temp destinations over the network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955621 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9703219972
commit
ae5300b190
|
@ -241,7 +241,7 @@ public class AdvisoryBroker extends BrokerFilter {
|
||||||
if (!AdvisorySupport.isAdvisoryTopic(dest)) {
|
if (!AdvisorySupport.isAdvisoryTopic(dest)) {
|
||||||
ActiveMQTopic topic = AdvisorySupport.getConsumerAdvisoryTopic(dest);
|
ActiveMQTopic topic = AdvisorySupport.getConsumerAdvisoryTopic(dest);
|
||||||
consumers.remove(info.getConsumerId());
|
consumers.remove(info.getConsumerId());
|
||||||
if (!dest.isTemporary() || destinations.contains(dest)) {
|
if (!dest.isTemporary() || destinations.containsKey(dest)) {
|
||||||
fireConsumerAdvisory(context,dest, topic, info.createRemoveCommand());
|
fireConsumerAdvisory(context,dest, topic, info.createRemoveCommand());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue