camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bingliu <>
Subject How throw Exception to Up route
Date Wed, 24 Nov 2010 02:36:31 GMT

Hi, I have some question.Now I use camel with spring. I definition two routes
called Route1 and Route2.Look this:
<camel:route id="route1" errorHandlerRef="handler">
<camel:from uri="direct:route1"/>
<camel:to uri="direct:rouet2"/>

<camel:route id="rouet2">
<camel:from uri="direct:route2"/>
<camel:bean ref="someBean"/>
I use a error handler on Route1.Now route2 throw an Exception.How can I
catch the Exception on Route1?How can I use the route1's errorHander catch
the Exception?
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message