Lets make the sample.java even simpler
@@ -4,7 +4,6 @@ public class Sample extends RouteBuilder {
@Override
public void configure() throws Exception {
from("timer:tick")
- .setBody(constant("-\n r\n o\n c\nHello! Camel K\n s\n !\n"))
- .to("log:info?skipBodyLineSeparator=false");
+ .log("Hello Camel K!");
}
}
\ No newline at end of file
