Skip to content

Instantly share code, notes, and snippets.

@luan-cestari
Last active January 4, 2016 00:39
Show Gist options
  • Save luan-cestari/8542645 to your computer and use it in GitHub Desktop.
Save luan-cestari/8542645 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/spring"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
">
<camel:camelContext id="testCamelContext" managementNamePattern="#symbolicName#">
<camel:route>
<camel:from uri="jetty:http://0.0.0.0:2181/test" />
<camel:to uri="log:GOT_REQUEST" />
<camel:delay>
<camel:constant>600000</camel:constant>
</camel:delay>
<camel:to uri="log:DONE_SLEEPING" />
<camel:setBody>
<camel:constant>response</camel:constant>
</camel:setBody>
</camel:route>
</camel:camelContext>
<bean id="defaultShutdownPolicy" class="org.apache.camel.impl.DefaultShutdownStrategy">
<property name="timeout" value="10"/>
</bean>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment