[
https://issues.apache.org/activemq/browse/CAMEL-2577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-2577.
--------------------------------
Resolution: Fixed
trunk: 928696.
> doTry .. doCatch should disabled nested child error handlers
> ------------------------------------------------------------
>
> Key: CAMEL-2577
> URL: https://issues.apache.org/activemq/browse/CAMEL-2577
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.3.0
>
>
> Follow route use a default-error-handler for the route, and also defined a
> custom exception handle logic using try-catch-pattern.
> But if the "myProcessRaiseError" raised exception the catch-clause cannot be
> invoked; Why? Is it camel's bug?
> {code:xml}
> <route>
> <from uri="ws:... "/>
> <bean ...>
> <doTry>
> <filter>
> <simple>${body} == 'firstChoice'</simple>
> <bean ref="myProcess" />
> <bean ref="myProcessRaiseError"/>
> </filter>
> <doCatch>
> ..some error handler...
> </doCatch>
> </doTry>
> <process ...>
> </route>
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.