activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r392623 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
Date Sat, 08 Apr 2006 22:47:11 GMT
Author: rajdavies
Date: Sat Apr  8 15:47:09 2006
New Revision: 392623

URL: http://svn.apache.org/viewcvs?rev=392623&view=rev
Log:
Fix for http://issues.apache.org/activemq/browse/AMQ-677

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

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java?rev=392623&r1=392622&r2=392623&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
Sat Apr  8 15:47:09 2006
@@ -153,6 +153,7 @@
             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 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 {



Mime
View raw message