You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2008/12/05 13:37:32 UTC

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

Author: gertv
Date: Fri Dec  5 04:37:31 2008
New Revision: 723725

URL: http://svn.apache.org/viewvc?rev=723725&view=rev
Log:
SM-1714: Don't shutdown the Bus, only remove it from the ThreadLocal

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

Modified: servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcComponent.java
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcComponent.java?rev=723725&r1=723724&r2=723725&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcComponent.java (original)
+++ servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcComponent.java Fri Dec  5 04:37:31 2008
@@ -92,8 +92,8 @@
     
     @Override
     protected void doShutDown() throws Exception {
+        // Bus should no longer be the thread default since the component's threads will end now
         if (bus != null) {
-            bus.shutdown(true);
             BusFactory.setThreadDefaultBus(null);
         }
         super.doShutDown();