Part of my Fuse Online demo
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.

16 lines
1.1 KiB

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring https://camel.apache.org/schema/spring/camel-spring.xsd">
<sslContextParameters id="ssl" xmlns="http://camel.apache.org/schema/spring"/>
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route id="simple-route">
<from id="route-timer" uri="timer://foo?period=30000"/>
<to id="_to1" uri="netty4-http:https:{{apicast.hostname}}:443/todo/next?ssl=true&amp;sslContextParameters=#ssl&amp;user_key={{apicast.apikey}}"/>
<log id="route-log" message=">>> ${body}"/>
<setBody id="_setBody2">
<jsonpath>$.name</jsonpath>
</setBody>
<to id="_to2" uri="file:/tmp?fileName=next-todo.txt"/>
</route>
</camelContext>
</beans>