You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/03/26 08:11:07 UTC
[jira] Created: (CAMEL-2577) doTry .. doCatch should disabled
nested child error handlers
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.
[jira] Resolved: (CAMEL-2577) doTry .. doCatch should disabled
nested child error handlers
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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.