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.

Reply via email to