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

Aggregator - completedPredicate should be renamed to completionPredicate to be in line with wording

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0-M1
    • camel-core
    • None

    Description

                  <aggregate strategyRef="bestQuote">
                      <correlationExpression>
                          <header id="loandId"/>
                      </correlationExpression>
                      <completedPredicate>
                          <simple>${header.CamelAggregatedCount} > 2</simple>
                      </completedPredicate>
                  </aggregate>
      

      Should be:

                  <aggregate strategyRef="bestQuote">
                      <correlationExpression>
                          <header id="loandId"/>
                      </correlationExpression>
                      <completionPredicate>
                          <simple>${header.CamelAggregatedCount} > 2</simple>
                      </completionPredicate>
                  </aggregate>
      

      So its in line with the correlation expression

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: