camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [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
Date Sat, 21 Nov 2009 09:11:52 GMT
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.


Mime
View raw message