servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r485647 - /incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java
Date Mon, 11 Dec 2006 12:42:56 GMT
Author: gnodet
Date: Mon Dec 11 04:42:55 2006
New Revision: 485647

URL: http://svn.apache.org/viewvc?view=rev&rev=485647
Log:
Endpoint events need to be given the endpoint supplied by the NMR and not the one supplied
by the component

Modified:
    incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java

Modified: incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java?view=diff&rev=485647&r1=485646&r2=485647
==============================================================================
--- incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java
(original)
+++ incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java
Mon Dec 11 04:42:55 2006
@@ -388,7 +388,7 @@
     public void unregisterExternalEndpoint(ComponentNameSpace cns, ServiceEndpoint externalEndpoint)
{
         ExternalEndpoint ep = (ExternalEndpoint) externalEndpoints.remove(getKey(externalEndpoint));
         unregisterEndpoint(ep);
-        fireEvent(externalEndpoint, EndpointEvent.EXTERNAL_ENDPOINT_UNREGISTERED);
+        fireEvent(ep, EndpointEvent.EXTERNAL_ENDPOINT_UNREGISTERED);
     }
 
     /**



Mime
View raw message