[
https://issues.apache.org/jira/browse/CAMEL-4234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-4234:
-------------------------------
Affects Version/s: (was: 2.8.0)
Fix Version/s: (was: 2.9.0)
2.8.0
Camel 2.8 is being cut later today/tomorrow. So this ticket is included.
I added an unit test based to verify it works in both java and xml dsl.
> ProducerTemplate/MockEndpoint does not seem to trigger context exception
> handling.
> ----------------------------------------------------------------------------------
>
> Key: CAMEL-4234
> URL: https://issues.apache.org/jira/browse/CAMEL-4234
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.7.0, 2.7.1, 2.7.2
> Environment: JUnit4 Spring tests, Spring DSL
> Reporter: Bryan Brouckaert
> Assignee: Claus Ibsen
> Fix For: 2.8.0
>
> Attachments: CAMEL-4234.zip, routes.xml
>
>
> Hello,
> I have a camel route that has "onException" clause. When I run it on Tomcat
> it works pefectly, but in my integration test (JUnit4 + Spring Tests) the
> exception handling isn't triggered. The unit tests uses a producer template
> and mock endpoint, so it seems that it is in one of those.
> I'll try to reproduce it in a small test case.
> Kind regards,
> Bryan.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira