You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Roman Kalukiewicz (JIRA)" <ji...@apache.org> on 2008/02/29 21:58:17 UTC
[jira] Closed: (CAMEL-346) Exceptions in handle clause are
swallowed
[ https://issues.apache.org/activemq/browse/CAMEL-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Kalukiewicz closed CAMEL-346.
-----------------------------------
> Exceptions in handle clause are swallowed
> -----------------------------------------
>
> Key: CAMEL-346
> URL: https://issues.apache.org/activemq/browse/CAMEL-346
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: Roman Kalukiewicz
> Assignee: Roman Kalukiewicz
> Fix For: 1.3.0
>
>
> In following code message should go to {{mock:invalid}} when invalid message is sent. Currently message is sent nowhere as exceptions in handle() clause are swallowed.
> {code}
> exception(ValidationException.class).to("mock:invalid");
>
> from("direct:start").tryBlock().process(validator).to("mock:valid")
> .handle(ValidationException.class).process(validator);
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.