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

Claus Ibsen commented on CAMEL-2972:
------------------------------------

Silvio thanks for the patch.

However the fix requires a bit more work as the {{exchange.getFromRouteId()}} 
is the starting route id, and you could have the Exchange routed in multiple 
routes and one of them have a route scoped onException which should trigger.

I got it fixed but it revealed an issue when you perform RecipientList EIP 
pattern in parallel mode. So the bonus is that we fix an issue in there as well.

> onException not working correctly when using routeContext
> ---------------------------------------------------------
>
>                 Key: CAMEL-2972
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2972
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.3.0, 2.4.0
>            Reporter: Andreas Asmuss
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>         Attachments: CAMEL-2972.patch, PerRouteOnExceptionTest.zip
>
>
> When using a routeContext, the last (in the xml-file) defined route-scoped 
> <onException> configuration is shared by the other routes in the context.
> http://camel.465427.n5.nabble.com/possible-onException-bug-when-using-routeContext-td1616244.html#a1616244

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to