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

Attachment removed from Exchange after AggregationStrategy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.16.0, 3.17.0, 3.18.0, 3.19.0, 3.20.0, 3.21.0, 4.0.0
    • 3.20.7, 3.21.1, 3.22.0, 4.0.0
    • camel-attachments
    • None
    • Unknown

    Description

      In Camel version 3.16.0 and higher, a multicast route with a custom aggregation strategy starts failing. At the end of the AggregationStrategy, there is still an attachment on the Exchange. Right after the multicast, it's no longer on the Exchange. 

      I created a minimal example on https://github.com/rvanderhallen/camel-aggregation/blob/main/src/test/java/be/rvanderhallen/camel/aggregation/CamelAggregationStrategyTest.java.

      orpiske discovered the root cause of the problem: https://github.com/apache/camel/commit/0125a133a11cbdff57d459634bac276c10963387

      Link to the Zulip chat thread: https://camel.zulipchat.com/#narrow/stream/257298-camel/topic/aggregation.20strategy.20failing.20on.20Camel.203.2E16.2E0.20and.20higher

       

      Attachments

        Issue Links

          Activity

            People

              orpiske Otavio Rodolfo Piske
              rvanderhallen Robin Vanderhallen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: