You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ben O'Day (JIRA)" <ji...@apache.org> on 2011/04/12 23:56:05 UTC

[jira] [Updated] (CAMEL-3855) make aggregate() easier to use for the common case

     [ https://issues.apache.org/jira/browse/CAMEL-3855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben O'Day updated CAMEL-3855:
-----------------------------

    Attachment: CAMEL-3855.patch

adds a basic "aggregate as list" strategy class and test case

> make aggregate() easier to use for the common case
> --------------------------------------------------
>
>                 Key: CAMEL-3855
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3855
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Ben O'Day
>            Assignee: Ben O'Day
>            Priority: Minor
>         Attachments: CAMEL-3855.patch
>
>
> Currently, an expression and strategy are required to use aggregate().  Perhaps, we could set a default expression (constant(true), etc) and strategy (either groupExchanges() or the attached AggregateAsListStrategy, etc).
> For example, either of these could make a good intuitive default (still requiring a completionSize/Interval, etc)
> aggregate() == aggregate(constant(true)).groupExchanges() 
> or
> aggregate() == aggregate(constant(true), new AggregateAsListStrategy())
> See this discussion for more information....http://camel.465427.n5.nabble.com/Default-Behavior-for-aggregate-td4296790.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira