You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2008/11/05 09:19:39 UTC
svn commit: r711533 - in /activemq/camel/branches/camel-1.x: ./
components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/SpringIntegrationConsumer.java
Author: ningjiang
Date: Wed Nov 5 00:19:39 2008
New Revision: 711533
URL: http://svn.apache.org/viewvc?rev=711533&view=rev
Log:
Merged revisions 711531 via svnmerge from
https://svn.apache.org/repos/asf/activemq/camel/trunk
........
r711531 | ningjiang | 2008-11-05 16:17:05 +0800 (Wed, 05 Nov 2008) | 1 line
CAMEL-1053 using the ObjectHelper.wrapRuntimeCamelException to wrap the exception as claus suggested
........
Modified:
activemq/camel/branches/camel-1.x/ (props changed)
activemq/camel/branches/camel-1.x/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/SpringIntegrationConsumer.java
Propchange: activemq/camel/branches/camel-1.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Nov 5 00:19:39 2008
@@ -1 +1 @@
-/activemq/camel/trunk:709850,711200,711206,711219-711220,711523
+/activemq/camel/trunk:709850,711200,711206,711219-711220,711523,711531
Propchange: activemq/camel/branches/camel-1.x/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Nov 5 00:19:39 2008
@@ -1 +1 @@
-/activemq/camel/trunk:1-708421,708553-709447,709449-709612,709614-709634,709636-710013,711200,711206,711219-711220,711523
+/activemq/camel/trunk:1-708421,708553-709447,709449-709612,709614-709634,709636-710013,711200,711206,711219-711220,711523,711531
Modified: activemq/camel/branches/camel-1.x/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/SpringIntegrationConsumer.java
URL: http://svn.apache.org/viewvc/activemq/camel/branches/camel-1.x/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/SpringIntegrationConsumer.java?rev=711533&r1=711532&r2=711533&view=diff
==============================================================================
--- activemq/camel/branches/camel-1.x/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/SpringIntegrationConsumer.java (original)
+++ activemq/camel/branches/camel-1.x/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/SpringIntegrationConsumer.java Wed Nov 5 00:19:39 2008
@@ -94,8 +94,7 @@
getProcessor().process(exchange);
} catch (Exception e) {
//TODO need to find a way to deal with this exception
- //Now I just throw it out
- throw new RuntimeCamelException(e);
+ throw ObjectHelper.wrapRuntimeCamelException(e);
}
if (endpoint.isInOut()) {
// get the output channel from message header