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:

<camelContext errorHandlerRef="errorHandler" xmlns="">
        <from uri="seda:a"/>
                <xpath>$foo = 'bar'</xpath>
                <to uri="seda:b"/>
                <xpath>$foo = 'cheese'</xpath>
                <to uri="seda:c"/>
                <to uri="seda:d"/>

For more usage examples see the Enterprise Integration Patterns

© 2004-2011 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