[
https://issues.apache.org/activemq/browse/CAMEL-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57570#action_57570
]
Claus Ibsen commented on CAMEL-1686:
------------------------------------
trunk: 909995.
I have fixed to let completion predicate be evaluated on the fly which allows
it to trigger before the batch timeout.
There is one caveat as the predicate is being invoked twice:
- eager on the fly
- and a 2nd time when aggregation takes place
To remedy this the aggregation must also happen on the fly which is a much
bigger task to implement.
> Aggregator - Completion Predicate being evaluated on-the-fly
> ------------------------------------------------------------
>
> Key: CAMEL-1686
> URL: https://issues.apache.org/activemq/browse/CAMEL-1686
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.6.2, 2.0.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.3.0
>
>
> When using the completion predicate with the aggregator its not evaluated
> on-the-fly. So the completion is dependent on timeout or batch size before
> its evaluated.
> We should let Camel be able to aggregate on-the-fly so the completion
> predicate also can trigger a send from the aggregator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.