Re: file endpoint to xquery problem

2018-09-19 Thread Claus Ibsen
Hi Have you tried setting that as a header value - I think there is something with xquery where you can refer to headers by their name. On Tue, Sep 18, 2018 at 4:52 PM Wang Yan wrote: > > In my camel route has below route , which send file input to xquery to > generate file output. as below

file endpoint to xquery problem

2018-09-18 Thread Wang Yan
In my camel route has below route , which send file input to xquery to generate file output. as below shown # camel route ## from("file:src/data?moveFailed=.error"). to("xquery:myxquery.xq").to("file:target/output"); My problem is myxquery.xq file it has a function