Skip to content

Instantly share code, notes, and snippets.

@paoloantinori
Created Oct 11, 2016
Embed
What would you like to do?
minimal blue print camel route
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
<route id="myRoute">
<from uri="timer:whatever"/>
<setBody>
<simple>Hello from Camel route</simple>
</setBody>
<log message="Received payload: ${body}"/>
</route>
</camelContext>
</blueprint>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment