camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben O'Day (JIRA)" <>
Subject [jira] [Created] (CAMEL-3855) make aggregate() easier to use for the common case
Date Tue, 12 Apr 2011 21:54:05 GMT
make aggregate() easier to use for the common case

                 Key: CAMEL-3855
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Ben O'Day
            Assignee: Ben O'Day
            Priority: Minor

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,

aggregate() == aggregate(constant(true)).groupExchanges() 
aggregate() == aggregate(constant(true), new AggregateAsListStrategy())

See this discussion for more information....

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message