[ 
https://issues.apache.org/jira/browse/CAMEL-9252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972766#comment-14972766
 ] 

ASF GitHub Bot commented on CAMEL-9252:
---------------------------------------

GitHub user khaing211 opened a pull request:

    https://github.com/apache/camel/pull/656

    CAMEL-9252 add GroupedMessageAggregationStrategy

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/khaing211/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/656.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #656
    
----
commit d7b21efd35324a67d2564580e95f0833b7c422cc
Author: khaing211 <[email protected]>
Date:   2015-10-24T17:39:10Z

    CAMEL-9252 add GroupedMessageAggregationStrategy

----


> Batch camel messages
> --------------------
>
>                 Key: CAMEL-9252
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9252
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.16.0
>            Reporter: Howard Nguyen
>            Priority: Minor
>
> This is a new feature to batch camel messages.
> {code
>       <bean id="groupMessageAggregationStrategy" 
> class="org.apache.camel.processor.aggregate.GroupedMessageAggregationStrategy"
>  />
>       
>     <route>
>         <from uri="direct:order"/>
>         <aggregate strategyRef="groupMessageAggregationStrategy" 
> completionSize="500" completionTimeout="3000">
>             <correlationExpression>
>                 <simple>${header[some.thing]}</simple>
>             </correlationExpression>
>                       
>             <to uri="direct:aggregatedOrders"/>
>         </aggregate>
>     </route>
>     <route>
>         <from uri="direct:aggregated"/>
>               <bean ref="externalResource" method="batchOrders"/>
>               <split>
>             <xpath>/invoice/lineItems</xpath>
>                       <to uri="mock:result" />
>         </split>
>     </route>
> {code}
> This is different from GroupedExchangeAggregationStrategy, because Splitter 
> supports org.camel.Message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to