This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new c50aebf Lets make the sample.java even simpler
c50aebf is described below
commit c50aebf37230493bb77d3d858334656e81962640
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Apr 11 13:03:12 2019 +0200
Lets make the sample.java even simpler
---
examples/Sample.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/examples/Sample.java b/examples/Sample.java
index cf1be6a..737682d 100644
--- a/examples/Sample.java
+++ b/examples/Sample.java
@@ -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