I have defined a context variable that should be used in my xpath.
I have created a route with the following xpath entry for testing purpose.
"concat('XPath ','is ',)"+context.emotion,String.class
where emotion is a context variable with value AWFUL!
This is the error that I get.
org.apache.camel.builder.xml.InvalidXPathExpression: Invalid xpath: concat('XPath ','is ',)AWFUL!. Reason: javax.xml.xpath.XPathExpressionException
Any idea on how to resolve this?
Solved! Go to Solution.
The first 100 community members completing the Open Studio survey win a $10 gift voucher.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Take a look at this technical overview video of Talend API Designer
Find out how to get started with APIs