servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r774643 - /servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
Date Thu, 14 May 2009 05:39:05 GMT
Author: ffang
Date: Thu May 14 05:39:05 2009
New Revision: 774643

URL: http://svn.apache.org/viewvc?rev=774643&view=rev
Log:
[SMXCOMP-540]Registration/deregistration problem for consumer endpoint

Modified:
    servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java

Modified: servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java?rev=774643&r1=774642&r2=774643&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
(original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
Thu May 14 05:39:05 2009
@@ -319,10 +319,15 @@
     @Override
     public void start() throws Exception {
         super.start();
-        registerListServiceHandler();
-        applyFeatures();
-        checkJmsTransportTransaction();
-        server.start();
+        try {
+            registerListServiceHandler();
+            applyFeatures();
+            checkJmsTransportTransaction();
+            server.start();
+        } catch (Exception ex) {
+            super.stop();
+            throw ex;
+        }
     }
     
     private void checkJmsTransportTransaction() {



Mime
View raw message