Hello
I am generating routes dynamically
<camel:camelContext id="xdocCamelContext"
xmlns:erp="http://e-arvetekeskus.eu/erp"
xmlns="http://camel.apache.org/schema/spring">
<camel:routeBuilder ref="agentRouteBuilder" />
..
xpath expression:
<setHeader headerName="eArveYES">
<xpath>/erp:CompanyStatusResponse/erp:CompanyActive/text()</xpath>
</setHeader>
gives error
Invalid xpath: /erp:CompanyStatusResponse/erp:CompanyActive/text(). Reason:
javax.xml.xpath.XPathExpressionException
Is there some command to view CamelContext namespaces inside Karaf ?
camel:context-list and camel:context-info
does'nt show CamelContext namespaces
Kuido
--
View this message in context:
http://camel.465427.n5.nabble.com/Spring-DSL-XPATH-namespace-query-syntax-with-header-in-key-tp5715171p5715228.html
Sent from the Camel - Users mailing list archive at Nabble.com.