Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2208

Transacted routes mixed with Camel error handling should invoke Camel redelivery on the failed part of the route and not from beginning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • camel-core, camel-spring
    • None

    Description

      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

                  onException(Exception.class)
                          .handled(true)
                          .useOriginalBody()
                          .maximumRedeliveries(2)
                          .to("mock:error");
      

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: