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/08/05 05:22:54 UTC

[camel] branch main updated: camel-jbang - Polished docs

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 9c66e648fd0 camel-jbang - Polished docs
9c66e648fd0 is described below

commit 9c66e648fd0571fc73d718bc1933788e3fc9a0a0
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Aug 5 07:22:42 2022 +0200

    camel-jbang - Polished docs
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index f83ddd699a5..cbba4e88eb9 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -61,7 +61,7 @@ camel run cheese.xml
 
 NOTE: You can create and run any of the supported xref:dsl.adoc[DSLs] in Camel such as YAML, XML, Java, Groovy.
 
-To create a new .java integration, you simply do:
+To create a new .java route, you simply do:
 
 [source,bash]
 ----
@@ -98,6 +98,13 @@ Or you can run all files starting with foo*
 camel run foo*
 ----
 
+And to run everything
+
+[source,bash]
+----
+camel run *
+----
+
 TIP: The run goal can also detect files that are `properties`.
 
 === Dev mode with live reload
@@ -107,11 +114,18 @@ using the `--dev` options as shown:
 
 [source,bash]
 ----
-camel run jms-amqp-10-sink-binding.yaml --dev
+camel run foo.yaml --dev
 ----
 
 Then while the Camel application is running, you can update the YAML route and update when saving.
 
+This works for all DLS even java, so you can do:
+
+[source,bash]
+----
+camel run hello.java --dev
+----
+
 NOTE: The live reload is meant for development purposes, and if you encounter problems with reloading
 such as JVM class loading issues, then you may need to restart the application.