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 4d47bdd0e8b CAMEL-18425: camel-cli - Make regular Camel applications work with Camel CLI 4d47bdd0e8b is described below commit 4d47bdd0e8bddb084e3510f6de17cfc09a7a3a42 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Aug 26 12:40:32 2022 +0200 CAMEL-18425: camel-cli - Make regular Camel applications work with Camel CLI --- .../modules/ROOT/pages/camel-jbang.adoc | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc index e65f8d7b6d8..64b2505fbc9 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc @@ -563,6 +563,33 @@ Stopping running Camel integration (pid: 61818) Stopping running Camel integration (pid: 62506) ---- +==== Controlling Spring Boot and Quarkus integrations + +The Camel JBang CLI will by default only control Camel integrations that are running using the CLI, eg `camel run foo.java`. + +For the CLI to be able to control and manage Spring Boot or Quarkus applications, then you need to add a dependency +to these projects to integrate with Camel CLI. + +In Spring Boot you add the following dependency: + +[source,xml] +---- +<dependency> + <groupId>org.apache.camel.springboot</groupId> + <artifactId>camel-cli-connector-starter</artifactId> +</dependency> +---- + +In Quarkus you need to add the following dependency: + +[source,xml] +---- +<dependency> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-cli-connector</artifactId> +</dependency> +---- + === Get status of Camel integrations The `get` command in Camel JBang is used for getting Camel specific status for one