camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Calling count function in the camel route
Date Mon, 04 Feb 2013 12:23:04 GMT
Hi

We cannot see your XML code snippets in this mail.
Neither can we see that from the nabble link.



On Mon, Feb 4, 2013 at 12:59 PM, dkum003 <DHANANJAY.KUMAR@amadeus.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message