mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
67064db832
commit
973147afb0
|
@ -153,6 +153,7 @@ public class AdvisoryBroker extends BrokerFilter {
|
|||
info.setOperationType(DestinationInfo.REMOVE_OPERATION_TYPE);
|
||||
fireAdvisory(context, topic, info);
|
||||
}
|
||||
next.removeDestination(context, AdvisorySupport.getConsumerAdvisoryTopic(info.getDestination()), timeout);
|
||||
}
|
||||
|
||||
public void addDestinationInfo(ConnectionContext context,DestinationInfo info) throws Exception{
|
||||
|
@ -167,7 +168,7 @@ public class AdvisoryBroker extends BrokerFilter {
|
|||
public void removeDestinationInfo(ConnectionContext context,DestinationInfo info) throws Exception{
|
||||
next.removeDestinationInfo(context, info);
|
||||
ActiveMQTopic topic = AdvisorySupport.getDestinationAdvisoryTopic(info.getDestination());
|
||||
fireAdvisory(context, topic, info);
|
||||
fireAdvisory(context, topic, info);
|
||||
}
|
||||
|
||||
public void removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue