[
https://issues.apache.org/jira/browse/CAMEL-5231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15887930#comment-15887930
]
Claus Ibsen commented on CAMEL-5231:
------------------------------------
We did improve this in recent versions, so this may work now.
> Loading routes from XML files using API on CamelContext should inject custom
> namespaces
> ---------------------------------------------------------------------------------------
>
> Key: CAMEL-5231
> URL: https://issues.apache.org/jira/browse/CAMEL-5231
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Fix For: 2.19.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/xpath-and-namespaces-tp5659835p5659835.html
> We should look into if we can detect the custom namespaces from the XML files
> and inject those on the XPath/XQuery expressions (eg the namespace aware
> definitions). See the namespace handler code in camel-spring etc. as we
> inject it there when parsing the spring xml files.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)