servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r792427 - /servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
Date Thu, 09 Jul 2009 07:30:02 GMT
Author: ffang
Date: Thu Jul  9 07:30:01 2009
New Revision: 792427

URL: http://svn.apache.org/viewvc?rev=792427&view=rev
Log:
[SMXCOMP-584]when shutdown cxf bc consumer endpoint, shouldn't shutdown the cxf bc component's
bus

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

Modified: servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java?rev=792427&r1=792426&r2=792427&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
(original)
+++ servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
Thu Jul  9 07:30:01 2009
@@ -383,10 +383,6 @@
     @Override
     public void deactivate() throws Exception {
         server.stop();
-        if (ei.getAddress() != null && ei.getAddress().startsWith("https")) {
-            bus.shutdown(false);
-            bus = null;
-        }
         if (!isComponentBus()) {
             //if use the endpoint own bus, then shutdown it
             bus.shutdown(true);
@@ -604,7 +600,8 @@
             }
             return bus;
         } else {
-            return ((CxfBcComponent) getServiceUnit().getComponent()).getBus();
+        	bus = ((CxfBcComponent) getServiceUnit().getComponent()).getBus();
+            return bus;
         }
     }
 



Mime
View raw message