Skip to content

Instantly share code, notes, and snippets.

@paoloantinori
Created October 11, 2016 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paoloantinori/d82809c78150284817564505b12cc440 to your computer and use it in GitHub Desktop.
Save paoloantinori/d82809c78150284817564505b12cc440 to your computer and use it in GitHub Desktop.
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