I need to access camel context header variables in my XQuery endpoint. So in my context file i do something to this effect: <from ........ <setHeader headerName="foo"> <constant>bar</constant> </setHeader> <to uri="xquery:getHeaders.xquery"/>
where my xquery does something very simple like this: <headerValue> { $in.headers.foo } </headerValue> // I also tried just $foo etc... Always with an error message that the variable wasn't defined. I've looked at the Jira https://issues.apache.org/activemq/browse/CAMEL-918 https://issues.apache.org/activemq/browse/CAMEL-918 and at some of the related Jiras about updating documentation of this sort of thing but have come up empty. Any help available? Thanks Rog -- View this message in context: http://www.nabble.com/Accessing-header-variables-in-XQuery-endpoints-tp23141569p23141569.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.