camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepthi <deepthi...@gmail.com>
Subject Node count in camel
Date Tue, 07 Aug 2012 19:58:22 GMT
Hi,

Is there a way to find number of nodes in a given xml in camel using spring.
For Eg: We have the following xml:
<order>
  <item>1</item>
  <item>2</item>
  <item>3</item>
</order>

I want to know the number of item tags in order tag and store it in header
name say itemCount.
I am using camel 2.8.0

Is this possible?

Thanks,
Deepthi



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

Mime
View raw message