jbang/hello-xml/hi.xml (14 lines of code) (raw):

<?xml version="1.0" encoding="UTF-8"?> <!-- camel-k: language=xml --> <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://camel.apache.org/schema/spring" xsi:schemaLocation=" http://camel.apache.org/schema/spring https://camel.apache.org/schema/spring/camel-spring.xsd"> <!-- Write your routes here, for example: --> <route id="xml"> <from uri="timer:xml?period={{time:1000}}"/> <setBody> <simple>Hello Camel from ${routeId}</simple> </setBody> <log message="${body}"/> </route> </routes>