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

Aggregation completion has inconsistent property/header handling

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.24.3, 3.x
    • Fix Version/s: 3.1.0, 3.0.2, 2.25.1
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      following headers or properties are handled in an inconsistent way
      sometimes setted as prop then removed as headers or viceversa
      documentation in describing how to set them is also slightly inconsistent

      affected flags are (I am on purpose avoiding naming them header or property)
      AGGREGATION_COMPLETE_CURRENT_GROUP
      AGGREGATION_COMPLETE_ALL_GROUPS
      AGGREGATION_COMPLETE_ALL_GROUPS_INCLUSIVE

      also chaining aggregations is not working when using
      AGGREGATION_COMPLETE_CURRENT_GROUP
      AGGREGATION_COMPLETE_ALL_GROUPS

      because setting is done on prop and removal is done on header level

      I have created a PR proposing a change

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              grigoni Gianandrea Rigoni
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m