camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Babak Vahdat (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6364) Improve processors wrapping
Date Sun, 19 May 2013 22:55:15 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13661689#comment-13661689
] 

Babak Vahdat commented on CAMEL-6364:
-------------------------------------

There's a regression introduced by this ticket:

https://builds.apache.org/job/Camel.trunk.fulltest.java7/org.apache.camel$camel-spring/615/testReport/junit/org.apache.camel.spring.interceptor/TransactionalClientDataSourceTransactedWithLocalOnExceptionTest/testTransactionRollback/

The problem seems to be the following lines by {{CatchProcessor}} whose removal makes the
test pass again:

{code}
// If a previous catch clause handled the exception or if this clause does not match, exit
if (exchange.getProperty(Exchange.EXCEPTION_HANDLED) != null || caught == null) {
    callback.done(true);
    return true;
}
{code}
                
> Improve processors wrapping
> ---------------------------
>
>                 Key: CAMEL-6364
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6364
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.11.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 2.12.0
>
>
> Some processors can't easily be wrapped currently (in load balancers, finally clauses,
try clauses, wire taps, choices).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message