camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-9252) Batch camel messages
Date Fri, 18 Dec 2015 17:00:47 GMT

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

Claus Ibsen resolved CAMEL-9252.
--------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s: 2.17.0

Thanks for the PR

> 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
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.17.0
>
>
> 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)

Mime
View raw message