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 2022/09/02 08:40:00 UTC

[jira] [Updated] (CAMEL-5576) create an XML and namespace without spring in it

     [ https://issues.apache.org/jira/browse/CAMEL-5576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-5576:
-------------------------------
    Fix Version/s: 4.0
                       (was: 3.x)

> create an XML and namespace without spring in it
> ------------------------------------------------
>
>                 Key: CAMEL-5576
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5576
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: James Strachan
>            Priority: Major
>             Fix For: 4.0
>
>
> the underlying JAXB model of Camel has nothing to do with spring and can be used outside of Spring (e.g. with CDI or Guice or even without any DI frameworks). However traditionally we've got 'spring' in the namespace URI and we package the XSD inside the camel-spring.jar.
> maybe we could include the camel-core.xsd in the same jar as the model classes using a more generic name; e.g. URI = "http://camel.apache.org/schema/core". Then folks can load and save the XML model of Camel more easily - without requiring camel-spring.jar
> When using Camel inside spring we still need the namespace http://camel.apache.org/schema/spring to be supported; but maybe we can do that in the way the blueprint works; by swizzling the namespace URI in the Spring namespace hander?
> Then we have a core namespace/xsd, a spring namespace/xsd and a blueprint namespace/xsd



--
This message was sent by Atlassian Jira
(v8.20.10#820010)