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

Robin Kåveland Hansen commented on CAMEL-6889:
----------------------------------------------

I was the one asking about this on IRC earlier - just going to document that we 
found a workaround here. We made the bean implement Predicate and use 
when(bean) instead of when(method(bean)) and the error handling appears to work 
correctly.

> CBR - Should break out if exception was thrown when evaluating predicate
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-6889
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6889
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core, eip
>    Affects Versions: 2.11.2, 2.12.1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.11.3, 2.12.2, 2.13.0
>
>
> If having a CBR and the predicate throws an exception, then the next 
> predicate is called before error handler triggers.
> We should break out when exception is detected like pipeline/multicast can do.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to