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

camel-core - Make it easier to use aggregation strategy in camel-k like way

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 3.x
    • camel-core
    • None
    • Unknown

    Description

      Can we make some easier way to use AggregationStrategy - one is to use lambda but then you have Exchange as inputs that is a bit cumbersome when you need to merge 2 bodies together or something.

      There is the org.apache.camel.builder.AggregationStrategies that has convenient methods, but then you need to import this class and find out what method to call.

      Maybe if we can have a lambda style where you have the message body or Message instance to work with. Or the bean type where camel adapts to a method signature.
      https://camel.apache.org/components/3.18.x/eips/aggregate-eip.html#_aggregating_with_beans

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: