camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r771660 - /camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfAroundProcessor.java
Date Tue, 05 May 2009 10:46:40 GMT
Author: davsclaus
Date: Tue May  5 10:46:39 2009
New Revision: 771660

URL: http://svn.apache.org/viewvc?rev=771660&view=rev
Log:
CAMEL-1572: API cleanup.

Modified:
    camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfAroundProcessor.java

Modified: camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfAroundProcessor.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfAroundProcessor.java?rev=771660&r1=771659&r2=771660&view=diff
==============================================================================
--- camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfAroundProcessor.java
(original)
+++ camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfAroundProcessor.java
Tue May  5 10:46:39 2009
@@ -40,7 +40,11 @@
 
     public void process(Exchange exchange) throws Exception {
         before.process(exchange);
-        processor.process(exchange);
+        try {
+            processor.process(exchange);
+        } catch (Exception e) {
+            exchange.setException(e);
+        }
         after.process(exchange);
     }
 



Mime
View raw message