I set up a basic application, using Spring boot 2 and Camel 3.4. The route definition below is working as expected: when the application start, a message is printed every second.
String endPoint = "timer://timerName?period=1000";
from(endPoint)
.routeId("helloStart")
.process(exchange -> out.println("Hello world"))
.end();
But when I change the endPoint to use the direct or file component, the route is not working anymore, there is no more "hello world" printed. From what I read, this is not the expected behaviour.
String endPoint = "direct:helloStart";
// LOG: Route: helloStart started and consuming from: direct://helloStart
String endPoint = "file://src/main/resources/sample.xml";
// LOG: Route: helloStart started and consuming from: file://src/main/resources/xml/sample.xml
I use camel-spring-boot-dependencies BOM, camel-spring-boot-starter (the new one), camel-file|seda|direct...
Any idea ?