Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Camel Route with Rest Endpoint
<camelContext id="rest-example-context" xmlns="http://camel.apache.org/schema/blueprint">
<restConfiguration component="jetty" port="9191" />
<rest path="FIS">
<get uri="/{name}">
<to uri="direct:order" />
</get>
</rest>
<route id="rest-route">
<from uri="direct:order" />
<setBody>
<simple>Welcome to: ${headers.name} on Fuse Integration Service in OpenShift</simple>
</setBody>
<log message=">>> ${body} : ${sys.runtime.id}" />
</route>
</camelContext>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment