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/01/18 14:26:21 UTC
[jira] Created: (CAMEL-297) tryCatch() doesn't propagate results
from handle() section
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
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.
[jira] Updated: (CAMEL-297) tryCatch() doesn't propagate results
from handle() section
Posted by "James Strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Strachan updated CAMEL-297:
---------------------------------
Fix Version/s: 1.3.0
> 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
> Fix For: 1.3.0
>
> 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.
[jira] Resolved: (CAMEL-297) tryCatch() doesn't propagate results
from handle() section
Posted by "Roman Kalukiewicz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Kalukiewicz resolved CAMEL-297.
-------------------------------------
Resolution: Fixed
Patch applied. But patch attached to this issue covers this issue and newly created CAMEL-309
> 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.
[jira] Assigned: (CAMEL-297) tryCatch() doesn't propagate results
from handle() section
Posted by "Roman Kalukiewicz (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CAMEL-297) tryCatch() doesn't propagate results
from handle() section
Posted by "Roman Kalukiewicz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Kalukiewicz updated CAMEL-297:
------------------------------------
Attachment: tryCatch.patch
Patch for this issue attached.
(and for one simple typo in comment ;) )
> 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
> 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.