This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch run-wait
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/run-wait by this push:
     new 2fd5ea8ef5f CAMEL-21463: Camel-jbang while running the process in 
background unable to access log if the process start fails with errors
2fd5ea8ef5f is described below

commit 2fd5ea8ef5f81058c38dd6ad228b03967188d480
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Dec 2 11:08:56 2024 +0100

    CAMEL-21463: Camel-jbang while running the process in background unable to 
access log if the process start fails with errors
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 741af075c3e..2337bb64633 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -1775,6 +1775,8 @@ The `run` command allows running Camel in the background 
with the `--background`
 Therefore, to see and understand what happens then the management commands
 cane be used, such as `camel ps`, `camel get`, and `camel log`.
 
+NOTE: Only Camel Main is supported to run in background
+
 [source,bash]
 ----
 $ camel run chuck.yaml --background
@@ -1802,6 +1804,11 @@ $ camel stop chuck
 Shutting down Camel integration (pid: 80093)
 ----
 
+When running in background, then Camel JBang (**4.10 onwards**) will now 
automatic wait for the integration
+to startup before returning from the CLI command. This ensures that if there 
are any startup
+errors such as compilation errors or DSL errors etc. then these are captured 
and printed in the shell.
+You can use the option `--background-wait=false` to turn this off.
+
 ==== Starting and Stopping routes
 
 The `camel cmd` is intended for executing miscellaneous commands in the 
running Camel integrations.

Reply via email to