You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/06/01 06:08:00 UTC

[jira] [Commented] (CAMEL-16664) camel-core - XML routes loader allow to not have root namespace defined

    [ https://issues.apache.org/jira/browse/CAMEL-16664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354826#comment-17354826 ] 

Claus Ibsen commented on CAMEL-16664:
-------------------------------------

The xml-io parser can support this, however JAXB based is a bit more tricky

> camel-core - XML routes loader allow to not have root namespace defined
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-16664
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16664
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.11.0
>
>
> We need the spring namespace at
> https://github.com/apache/camel-examples/blob/main/examples/routeloader/src/main/resources/myroutes/cheese-route.xml#L20
> Since this is controlled by our routes loader, we can look at inferring the root namespace automatic if not in the xml code.
> This would make writing xml snippets a bit easier. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)