You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
862 B
20 lines
862 B
<?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.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
<!-- Define a traditional camel context here -->
|
|
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
|
|
<route id="simple-route">
|
|
<from id="route-timer" uri="timer:foo?period=2000"/>
|
|
<transform id="route-transform">
|
|
<method ref="myTransformer"/>
|
|
</transform>
|
|
<log id="route-log" message=">>> ${body}"/>
|
|
</route>
|
|
</camelContext>
|
|
|
|
</beans>
|