You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/04/17 07:57:53 UTC

[camel-kamelets-examples] branch main updated: Polished

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 386375c  Polished
386375c is described below

commit 386375c622395b843d1bbd62510c59a2e8ee86ee
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Apr 17 09:57:43 2022 +0200

    Polished
---
 jbang/hello-java/Hey.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jbang/hello-java/Hey.java b/jbang/hello-java/Hey.java
index d8ab5b8..c6f5a3b 100755
--- a/jbang/hello-java/Hey.java
+++ b/jbang/hello-java/Hey.java
@@ -11,6 +11,6 @@ public class Hey extends org.apache.camel.builder.RouteBuilder {
         .process(e -> {
            e.getMessage().setBody("Hello from Camel");
         })
-        .to("log:info");
+        .log("${body}");
   }
 }