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

Add CompletionAwareAggregationStrategy to the aggregator EIP

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.3, 2.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When people use the aggregator EIP, then they use the aggregation strategy interface.

      What is needing sometimes is a callback when the aggregated exchange is done, so you can do any custom cleanup/logic there, before the exchange is being routed out of the aggregator.

      Without this you would need to do this logic afterwards in the route, by calling a bean/processor. This is not so nice. So having a onComplete callback method in your aggregation strategy is better.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: