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

Add CompletionAwareAggregationStrategy to the aggregator EIP

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.3, 2.10.0
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: