camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r833285 - /camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java
Date Fri, 06 Nov 2009 02:54:29 GMT
Author: ningjiang
Date: Fri Nov  6 02:54:28 2009
New Revision: 833285

URL: http://svn.apache.org/viewvc?rev=833285&view=rev
Log:
CAMEL-2129 applied patch with thanks to Christian

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java?rev=833285&r1=833284&r2=833285&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java Fri Nov
 6 02:54:28 2009
@@ -57,7 +57,11 @@
                     ex = e;
                 } finally {
                     if (ex != null) {
-                        stop(childrenStarted);
+                    	try {
+                    		stop(childrenStarted);
+                    	} catch (Exception e) {
+                    		// Ignore exceptions as we want to show the original exception
+                    	}
                         throw ex;
                     } else {
                         started.set(true);



Mime
View raw message