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 9081224daa0 Update doc since the camel-k examples are gone
9081224daa0 is described below
commit 9081224daa0e94480f11f1139bea4eece0adb866
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Aug 27 09:45:20 2022 +0200
Update doc since the camel-k examples are gone
---
docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 64b2505fbc9..1aab8db4ca3 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -315,7 +315,7 @@ For example to run one of the Camel K examples you can do:
[source,bash]
----
-camel run github:apache:camel-k:examples/languages/routes.yaml
+camel run github:apache:camel-kamelets-examples:jbang/hello-java/Hey.java
----
You can also use the `https` URL for GitHub. For example, you can browse the
examples from a web-browser and
@@ -323,21 +323,21 @@ then copy the URL from the browser window and run the
example with Camel JBang:
[source,bash]
----
-camel run
https://github.com/apache/camel-k/blob/main/examples/languages/routes.yaml
+camel run
https://github.com/apache/camel-kamelets-examples/tree/main/jbang/hello-java
----
You can also use wildcards (i.e. `*`) to match multiple files, such as running
all the groovy files:
[source,bash]
----
-camel run
https://github.com/apache/camel-k/tree/main/examples/languages/*.groovy
+camel run
https://github.com/apache/camel-kamelets-examples/tree/main/jbang/languages/*.groovy
----
Or you can run all files starting with rou*
[source,bash]
----
-camel run https://github.com/apache/camel-k/tree/main/examples/languages/rou*
+camel run
https://github.com/apache/camel-kamelets-examples/tree/main/jbang/languages/rou*
----
==== Running routes from GitHub gists