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 00c8cbbba68 camel-jbang - Add --deps to export so you eg can add 
management via --deps=camel:management
00c8cbbba68 is described below

commit 00c8cbbba689e06951539caaabb62b7274f7e44d
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Aug 4 16:07:47 2022 +0200

    camel-jbang - Add --deps to export so you eg can add management via 
--deps=camel:management
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 08cb83cb8be..f83ddd699a5 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -698,6 +698,16 @@ camel export --runtime=camel-main 
--gav=com.foo:acme:1.0-SNAPSHOT --dir=../mypro
 
 TIP: See the possible options by running: `camel export --help` for more 
details.
 
+=== Exporting with JMX management included
+
+Usually when exporting to Spring Boot, Quarkus or Camel Main, then JMX 
management is not included out of the box.
+To include JMX, you need to add `camel:management` in the `--deps` option, as 
shown below:
+
+[source,bash]
+----
+camel export --runtime=quarkus --gav=com.foo:acme:1.0-SNAPSHOT 
--deps=camel:management --dir=../myproject
+----
+
 == Troubleshooting
 
 When using https://www.jbang.dev/[JBang] then JBang stores state in `~/.jbang` 
directory.

Reply via email to