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/10/27 13:17:10 UTC
[camel-kamelets-examples] branch main updated: CAMEL-18658: Live reload working
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 c32034c CAMEL-18658: Live reload working
c32034c is described below
commit c32034ce91f74baa5c89759470c4682ca7e47289
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Oct 27 15:16:58 2022 +0200
CAMEL-18658: Live reload working
---
jbang/camelk-bean/echo.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/jbang/camelk-bean/echo.yaml b/jbang/camelk-bean/echo.yaml
index 9794749..db4ae49 100644
--- a/jbang/camelk-bean/echo.yaml
+++ b/jbang/camelk-bean/echo.yaml
@@ -9,7 +9,7 @@ spec:
@org.apache.camel.BindToRegistry("echo")
public class MyEchoBean {
public String echo(String body) {
- return body + body;
+ return body + " " + body + "!";
}
}
name: MyEchoBean.java
@@ -20,7 +20,7 @@ spec:
period: "1000"
steps:
- setBody:
- constant: "HelloWorld"
- - setBody:
- simple: "${bean:echo}"
+ constant: "Hello World"
+ - bean:
+ ref: "echo"
- log: "${body}"