blob: c03876c5933ebd329ffa65f9312e8ec4947435f6 [file] [log] [blame]
= Writing Integrations in XML
Camel K support the classic XML DSL available in Camel:
[source,xml]
.example.xml
----
<routes xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="timer:tick"/>
<setBody>
<constant>Hello Camel K!</constant>
</setBody>
<to uri="log:info"/>
</route>
</routes>
----
You can run it by executing:
```
kamel run example.xml
```