[
https://issues.apache.org/activemq/browse/CAMEL-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Kalukiewicz reassigned CAMEL-297:
---------------------------------------
Assignee: Roman Kalukiewicz
> tryCatch() doesn't propagate results from handle() section
> ----------------------------------------------------------
>
> Key: CAMEL-297
> URL: https://issues.apache.org/activemq/browse/CAMEL-297
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 1.3.0
> Reporter: Roman Kalukiewicz
> Assignee: Roman Kalukiewicz
> Attachments: tryCatch.patch
>
>
> in following flow
> {code}
> from("direct:a")
> .setBody(constant("body"))
> .tryBlock()
> .process(new ExceptionThrower())
> .handle(Exception.class)
> .setBody(constant("exception"));
> {code}
> the result of such invocation is "body" instead of "exception".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.