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.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Learn how to use an API-First Approach to Modernize your Applications
Take a look at this technical overview video of Talend API Designer
Find out how to get started with APIs