camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5576) create an XML and namespace without spring in it
Date Sat, 11 Jul 2015 14:08:04 GMT

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

Claus Ibsen updated CAMEL-5576:
-------------------------------
    Component/s: camel-core

> 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
>             Fix For: 3.0.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
(v6.3.4#6332)

Mime
View raw message