Created
October 11, 2016 07:59
-
-
Save paoloantinori/d82809c78150284817564505b12cc440 to your computer and use it in GitHub Desktop.
minimal blue print camel route
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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