Camel
  1. Camel
  2. CAMEL-1380

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

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-M1
    • Component/s: camel-core
    • Labels:
      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

        Activity

        Claus Ibsen created issue -
        Claus Ibsen made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hadrian Zbarcea made changes -
        Fix Version/s 2.0-M1 [ 12061 ]
        Fix Version/s 2.0.0 [ 11900 ]
        Claus Ibsen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:14:50 EST 2010 [ 1290834890113 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development