...
This page contains a link to the XML reference guides and XML schema documents for Xml Configuration with Camel releases. You can refer to http://activemqcamel.apache.org/camel/schema/spring/ to see the individual XSDs available.
Released Schemas - Spring
Reference Version | XML Schema | ||
---|---|---|---|
3.0.0 | Reference-M4 | http:// | activemqcamel.apache.org/schema/spring/camel-spring-3.0.0-M4.xsd |
3.0.0-M3 | http://camel.apache.org/schema/spring/camel-spring- | 13.0.0-M3.xsd |
SNAPSHOT Schemas
Released Schemas - Blueprint
Released Schemas - CXF Spring
Released Schemas - CXF blueprint
Released Schemas - Spring Integration
Released Schemas - Spring Security
Using the XSDs in configuration files
When you are using Spring's 2.0 5 XML handling to parse the XML then you need to refer to the XSD locations in your XML document.
You can refer to a specific version of the XSD in your XML as follows
Code Block | ||||
---|---|---|---|---|
| ||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-23.0.xsd http://activemqcamel.apache.org/camel/schema/spring http://activemqcamel.apache.org/camel/schema/spring/camel-spring-2.13.1.0.xsd"> |
or if you prefer you can use a generic XSD without the version number
Code Block | ||||
---|---|---|---|---|
| ||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://activemqcamel.apache.org/camel/schema/spring http://activemqcamel.apache.org/camel/schema/spring/camel-spring.xsd"> |
Your IDE won't be able to fetch this XSD, you'll have to manually associate a specific release; however it does mean that you won't have to upgrade your XML config file with each Camel release; as it will resolve this XSD using the bundled XSD inside the camel-spring.jar.
svn ci -m "Uploading released manuals for camel-2.17.4"