[ https://issues.apache.org/jira/browse/CAMEL-4234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067023#comment-13067023 ]
Bryan Brouckaert commented on CAMEL-4234: ----------------------------------------- I tested with 2.9-SNAPSHOT and it does work. Any idea when the final version will be released? Kind regards, Bryan. > 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, 2.8.0 > Environment: JUnit4 Spring tests, Spring DSL > Reporter: Bryan Brouckaert > Assignee: Claus Ibsen > Fix For: 2.9.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