camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-2577) doTry .. doCatch should disabled nested child error handlers
Date Mon, 29 Mar 2010 10:39:08 GMT

     [ 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.


Mime
View raw message