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

commit a1ce2153a69ebfecf49b896b75bf7ec31eb38d2a
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Dec 1 11:50:58 2021 +0100

    CAMEL-17256: camel-jbang - Allow to run multiple files
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index db02fb9..223c3680 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -77,6 +77,23 @@ jbang -Dcamel.jbang.version=3.14.0 CamelJBang@apache/camel 
run jms-amqp-10-sink-
 
 NOTE: it is necessary to have a AMQP 1.0 broker, such as Apache Artemis, 
running locally and listening on port 61616. Adjust the route accordingly if 
using a different address for the broker.
 
+=== Running Routes from multiple files
+
+You can run more than 1 file, for example to run two YAML files you can do:
+
+[source,bash]
+----
+jbang -Dcamel.jbang.version=3.14.0 CamelJBang@apache/camel run one.yaml 
two.yaml
+----
+
+You can also mix different xref:dsl.adoc[DSLs] such as yaml and Java:
+
+[source,bash]
+----
+jbang -Dcamel.jbang.version=3.14.0 CamelJBang@apache/camel run one.yaml 
hello.java
+----
+
+
 === Live reload
 
 You can enable live reload of the route(s) when the source file is updated 
(saved),

Reply via email to