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.git
The following commit(s) were added to refs/heads/main by this push: new 59e6554cd84 CAMEL-18715: camel-jbang - Run with --local-kamelet-dir can now point to github/gist link as well. 59e6554cd84 is described below commit 59e6554cd84ab0ebe0a9942f8a80d549f74138f9 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sun Dec 4 12:07:47 2022 +0100 CAMEL-18715: camel-jbang - Run with --local-kamelet-dir can now point to github/gist link as well. --- docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc index 50268f19b4b..18d55842481 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc @@ -1006,6 +1006,19 @@ You can also use Camel JBang to try local Kamelets, without the need to publish camel run --local-kamelet-dir=/path/to/local/kamelets earthquake.yaml ---- +TIP: When the kamelets are from local file system, then they can be live reloaded, if they are updated, when you run +Camel JBang in `--dev` mode. + +You can also point to a folder in a GitHub repository. For example, we have provided some custom Kamelets +at https://github.com/apache/camel-kamelets-examples/tree/main/custom-kamelets which can be used easily: + +[source,bash] +---- +camel run --local-kamelet-dir=https://github.com/apache/camel-kamelets-examples/tree/main/custom-kamelets user.java +---- + +NOTE: If a kamelet is loaded from GitHub, then they cannot be live reloaded. + === Using platform-http component When a route is started from `platform-http` then Camel JBang will automatically include a VertX HTTP server