Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the asciidoc in the repository:

The Camel Spring XML Extensions allow you use a very concise XML syntax to describe your Camel configuration when you are using spring to wire together your application.
The following is an example of what it looks like:

Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'
<camelContext errorHandlerRef="errorHandler" xmlns="">
        <from uri="direct:a"/>
                <xpath>$foo = 'bar'</xpath>
                <to uri="direct:b"/>
                <xpath>$foo = 'cheese'</xpath>
                <to uri="direct:c"/>
                <to uri="direct:d"/>

For more usage examples see the Enterprise Integration Patterns

© 2004-2015 The Apache Software Foundation.
Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram