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

weaveAddLast does not work property when route ends with a split

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.14.1
    • 2.14.2, 2.15.0
    • camel-core
    • None
    • Unknown

    Description

      When using AdviceWithRouteBuilder to modify a route definition, weaveAddLast does not work correctly when the route ends with a split. It appears to add the additional components within the split, not afterwards.

      See attached testcase.

      Adding a trivial operation after the split in the original route builder fixes it.

      Attachments

        1. WeaveAfterLastSplitTest.java
          2 kB
          Chris Pimlott

        Activity

          People

            davsclaus Claus Ibsen
            pimlottc Chris Pimlott
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: