camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "michal.warecki" <>
Subject Re: Node count in camel
Date Wed, 08 Aug 2012 06:44:32 GMT
If you want to store count result in header, why you use filtering?
This should work:

<setHeader headerName="itemCount">
    <xpath resultType="java.lang.String">count(/order/item)</xpath>
<log message="${header.itemCount}"></log>

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message