Hi,
I created a basic route with a cMessagingEndPoint that runs xquery below (See https://help.talend.com/reader/5cfNfbUi1rlipcLK8el0ww/Wj_fb5FTf4hdtzMUgnUQNQ):
<people>
{
for $p in /people//person
return
<person>
<firstName>{$p/firstName/text()}</firstName>
<lastName>{$p/lastName/text()}</lastName>
</person>
}
</people>
I added a cSetHeader just before my cMessagingEndPoint to assign header whose name is "foo"
My route looks like:
I would like to be able to use this header value in my xquery.
I tried many syntax but none of them worked out...
For instance I tried adding these lines in my xQuery:
<headerValue>
{ $in.headers.foo }
</headerValue>
Does someone know what is the syntax ?
Eric
Hello,
Thanks for your time!
We have redirected your issue to our ESB experts and then come back to you as soon as we can.
Best regards
Sabrina