[
https://issues.apache.org/jira/browse/CAMEL-5576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-5576.
--------------------------------
Resolution: Fixed
> 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.12.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)