You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/06/21 22:17:47 UTC
[jira] [Updated] (CAMEL-4133) camel-blueprint doesn't handle
elements with a namespace prefix
[ https://issues.apache.org/jira/browse/CAMEL-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CAMEL-4133:
-------------------------------
Attachment: CAMEL-4133.patch
The issue is using el.getNodeName() instead of el.getLocalName() in the namespace handler.
> camel-blueprint doesn't handle elements with a namespace prefix
> ---------------------------------------------------------------
>
> Key: CAMEL-4133
> URL: https://issues.apache.org/jira/browse/CAMEL-4133
> Project: Camel
> Issue Type: Bug
> Components: camel-blueprint
> Reporter: Daniel Kulp
> Assignee: Daniel Kulp
> Fix For: 2.8.0
>
> Attachments: CAMEL-4133.patch
>
>
> Camel-blueprint only works if the camelContext and related elements are not using a namespace prefix. Like:
> {code:xml}
> <camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint">
> <routeBuilder ref="reportIncidentRoutes"/>
> </camelContext>
> {code}
> If you try and use a prefixed form like:
> {code:xml}
> <camel:camelContext id="camel" xmlns:camel="http://camel.apache.org/schema/blueprint">
> <camel:routeBuilder ref="reportIncidentRoutes"/>
> </camel:camelContext>
> {code}
> it won't parse.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira