I'm working off of mods to a camel spring boot example, and running into
confusion in yaml files. I'm using Camel 4.3 and Spring Boot 3.2.2, and I
am feeding a minimal Java program with a route via yaml. When the yaml
file does not include the first line below, "*routes:*" and there is no
indent before "- route:" all is well. But when I modify it to create a
"routes:" block, the route is not loaded. My hope is to have a routes
block, a beans block, and a routeConfiguration block. Any suggestions
appreciated. Thanks.
*routes:*
- route:
id: timerDemo
from:
uri: timer:myTimer?fixedRate=true&period=5000
steps:
- setBody:
simple: "Hello from the timer!"
- to:
uri: log:myLog?level=INFO&showAll=true&multiline=true