camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dinesh19aug <dinesh19...@gmail.com>
Subject Re: Split and Aggregate - Old Exchange is null everytime in AggregationStrategy
Date Thu, 23 Jan 2014 15:28:25 GMT
Claus,
    I tried to add the Aggregation strategy in the Splitter itself and that
works and I get aggregated xmls messages. However I am still looking for a
way to use Aggregator2. Is there no way I can implement it using Aggregator
component?

BTW .. if anyone is following this post here's how I did it using Splitter.
All othere code remains the same.

<camel:route>
    	<camel:from uri="file:src/data/catask/test?noop=true"/>
    	<camel:log message="${body}"></camel:log>
    	<camel:split strategyRef="aggrTask"> 
    		<camel:xpath>//te:Orders/*</camel:xpath>
    		<camel:to uri="direct:logQueries"/>
    		  <
    	</camel:split>
 
    </camel:route>
    
    <camel:route>
    	<camel:from uri="direct:logQueries"/>
    	<camel:log message="After the call : \n ${body}"></camel:log> 
    </camel:route>





--
View this message in context: http://camel.465427.n5.nabble.com/Split-and-Aggregate-Old-Exchange-is-null-everytime-in-AggregationStrategy-tp5746365p5746404.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message