You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/11/21 10:11:52 UTC
[jira] Created: (CAMEL-2208) Transacted routes mixed with Camel
error handling should invoke Camel redelivery on the failed part of the
route and not from beginning
Transacted routes mixed with Camel error handling should invoke Camel redelivery on the failed part of the route and not from beginning
---------------------------------------------------------------------------------------------------------------------------------------
Key: CAMEL-2208
URL: https://issues.apache.org/activemq/browse/CAMEL-2208
Project: Apache Camel
Issue Type: Bug
Components: camel-core, camel-spring
Affects Versions: 2.0.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.1.0
When using transacted routes and you *also* use Camel error handling then it gets complicated.
However when Camel is instructed to do redelivery such as using
{code}
onException(Exception.class)
.handled(true)
.useOriginalBody()
.maximumRedeliveries(2)
.to("mock:error");
{code}
Then when a redelivery is attempted it happens from the start of the route, where as its supposed to happen on that failing part of the route directly.
As it does for non transacted routes.
See nabble
http://old.nabble.com/Original-message-body-lost-in-transacted-route-to26451809.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-2208) Transacted routes mixed with Camel
error handling should invoke Camel redelivery on the failed part of the
route and not from beginning
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-2208.
--------------------------------
Resolution: Fixed
trunk: 882870.
> Transacted routes mixed with Camel error handling should invoke Camel redelivery on the failed part of the route and not from beginning
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-2208
> URL: https://issues.apache.org/activemq/browse/CAMEL-2208
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core, camel-spring
> Affects Versions: 2.0.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.1.0
>
>
> When using transacted routes and you *also* use Camel error handling then it gets complicated.
> However when Camel is instructed to do redelivery such as using
> {code}
> onException(Exception.class)
> .handled(true)
> .useOriginalBody()
> .maximumRedeliveries(2)
> .to("mock:error");
> {code}
> Then when a redelivery is attempted it happens from the start of the route, where as its supposed to happen on that failing part of the route directly.
> As it does for non transacted routes.
> See nabble
> http://old.nabble.com/Original-message-body-lost-in-transacted-route-to26451809.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.