camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu De Zutter <>
Subject External XQuery expression
Date Fri, 18 Sep 2015 07:29:58 GMT
Hi all,

I'm trying to assign the result of a XQuery to a header, using Blueprint XML

In the documentation[1] I read:
setHeader("myHeader").xquery("resource:classpath:myxquery.txt", String.class)

The closest I got to translating the XQuery part to blueprint is:


but Camel seems to try to parse it as XQuery:

>>> SetHeader[MOWESB_SysteemMapping, xquery{resource:classpath:mapping/SysteemMapping.xq}]
<<< in route: Route(route-geefVastlegging)[[From[cxf:bean:geefVastlegging]... because
of Illegal syntax: resource:classpath:mapping/SysteemMapping.xq

Any ideas?



View raw message