templates.kts.tmpl Maven / Gradle / Ivy
// camel-k: language=kotlin
// Write your routes here, for example:
from("timer:kotlin?period=1000")
.setBody()
.simple("Hello Camel from \${routeId}")
.log("\${body}")
// camel-k: language=kotlin
// Write your routes here, for example:
from("timer:kotlin?period=1000")
.setBody()
.simple("Hello Camel from \${routeId}")
.log("\${body}")