Robin Vanderhallen created CAMEL-19675:
------------------------------------------

             Summary: Attachment removed from Exchange after AggregationStrategy
                 Key: CAMEL-19675
                 URL: https://issues.apache.org/jira/browse/CAMEL-19675
             Project: Camel
          Issue Type: Bug
    Affects Versions: 3.21.0, 3.20.0, 3.19.0, 3.18.0, 3.17.0, 3.16.0
            Reporter: Robin Vanderhallen


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]

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to