camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepthi <deepthi...@gmail.com>
Subject Re: How to achieve both xpath and aggregator
Date Fri, 22 Jun 2012 20:41:40 GMT
Hi,

I am trying to aggregate in the following manner:

<camel:route>
     <camel:from uri="direct:start"/>
     <camel:aggregate strategyRef="aggregatorStrategy">
     <camel:correlationExpression>
           <camel:xpath>/order/id</camel:xpath>
     </camel:correlationExpression>
     </camel:aggregate>
     <camel:bean ref="testClass" method="testMeth"/>
     <camel:to uri="file://C:/test"/>
</camel:route>

I am using camel 2.8.0.
The above route throws me an exception "Definition has no children on
Aggregate".

Where am I going wrong? Any help is appreciated.

Thanks,
Deepthi

--
View this message in context: http://camel.465427.n5.nabble.com/How-to-achieve-both-xpath-and-aggregator-tp5714691p5714941.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message