Hello All,
Does the GroupExchanges attribute look at the correlation expression and
completion size?  Or does it only look at the batch options.

I have a route like this:

    <camel:route>
      <from uri="direct:aggregateQuery"/>
      <aggregate groupExchanges="true">
        <correlationExpression>
          <simple>header.requestGUID</simple>
        </correlationExpression>       
        <completionSize>
          <header>numberOfEndpointsRequested</header>
        </completionSize>
        <to uri="bean:responseAggregator?method=aggregateGroupMessages"/>
      </aggregate>
    </camel:route>

However, the correlation expression and completion size seem to be ignored. 
I replace groupExchanges with a reference to a strategy and everything works
fine.  Am I misreading what the pattern can do?  In the example above the
bean method 'aggregateGroupmessages' is never called.

Thanks,
Yogesh

--
View this message in context: 
http://camel.465427.n5.nabble.com/Aggregator-Pattern-GroupExchanges-tp4364886p4364886.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to