camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkum003 <DHANANJAY.KU...@amadeus.com>
Subject Calling count function in the camel route
Date Mon, 04 Feb 2013 11:59:59 GMT
Hi,

I am using DSL way of camel. At a certain point my exchange body has an xml
with a list of certain tag say 







How can i invoke the count function in the route to know the number of tags.

I tried 

.setHeader("count",xpath("count(A)")

But  no luck....

Please help





--
View this message in context: http://camel.465427.n5.nabble.com/Calling-count-function-in-the-camel-route-tp5726886.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message