You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2011/01/05 07:12:01 UTC

svn commit: r1055304 - /servicemix/components/trunk/bindings/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java

Author: ffang
Date: Wed Jan  5 06:12:00 2011
New Revision: 1055304

URL: http://svn.apache.org/viewvc?rev=1055304&view=rev
Log:
[SMXCOMP-837]should remove wsdl definition from bus cache when shutdown the cxfbc consumer endpoint

Modified:
    servicemix/components/trunk/bindings/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java

Modified: servicemix/components/trunk/bindings/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
URL: http://svn.apache.org/viewvc/servicemix/components/trunk/bindings/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java?rev=1055304&r1=1055303&r2=1055304&view=diff
==============================================================================
--- servicemix/components/trunk/bindings/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java (original)
+++ servicemix/components/trunk/bindings/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java Wed Jan  5 06:12:00 2011
@@ -395,6 +395,7 @@ public class CxfBcConsumer extends Consu
     @Override
     public void stop() throws Exception {
         this.started = false;
+        getBus().getExtension(WSDLManager.class).removeDefinition(definition);
         super.stop();
     }