This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.18.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.18.x by this push: new 8aac4d286b7 camel-jbang - Polished docs 8aac4d286b7 is described below commit 8aac4d286b7e28f2a05b5dc812b86189cafc0c67 Author: Claus Ibsen <claus.ib...@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 7eaee14fc45..b19b7a259bc 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc @@ -63,7 +63,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] ---- @@ -100,6 +100,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 @@ -109,11 +116,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.