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 50e5366 Polished 50e5366 is described below commit 50e5366d268fce482128193a5311cfbdbb7d8eef Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Apr 14 14:28:35 2023 +0200 Polished --- jbang/mqtt/README.adoc | 2 +- jbang/mqtt/{mqtt.yaml => mqtt.camel.yaml} | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/jbang/mqtt/README.adoc b/jbang/mqtt/README.adoc index 2cce6fc..c7686fd 100644 --- a/jbang/mqtt/README.adoc +++ b/jbang/mqtt/README.adoc @@ -39,7 +39,7 @@ Then you can run the Camel integration using: [source,sh] ---- -$ camel run mqtt.yaml +$ camel run mqtt.camel.yaml ---- And then from another terminal (or run the integraiton with `--background` option), diff --git a/jbang/mqtt/mqtt.yaml b/jbang/mqtt/mqtt.camel.yaml similarity index 71% rename from jbang/mqtt/mqtt.yaml rename to jbang/mqtt/mqtt.camel.yaml index ca32e98..aeea498 100644 --- a/jbang/mqtt/mqtt.yaml +++ b/jbang/mqtt/mqtt.camel.yaml @@ -1,13 +1,18 @@ - route: + id: route-c5e2 from: uri: kamelet:mqtt5-source + id: from-b3d6 parameters: topic: temperature brokerUrl: tcp://localhost:1883 steps: - transform: + id: transform-a607 expression: jq: expression: .value + id: jq-d9d0 - log: message: The temperature is ${body} + id: log-ac74