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

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

commit 4962898894b409ce3fe3268efcf49609803d12b3
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sat Feb 24 10:49:53 2024 +0100

    CAMEL-18858: camel-core - Mark route as created by Kamelet so we know this, 
so we can filter out in tooling and whereelse (kamelet is a blackbox)
---
 docs/user-manual/modules/ROOT/pages/jmx.adoc | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/jmx.adoc 
b/docs/user-manual/modules/ROOT/pages/jmx.adoc
index d428877efa6..e13a85e1b83 100644
--- a/docs/user-manual/modules/ROOT/pages/jmx.adoc
+++ b/docs/user-manual/modules/ROOT/pages/jmx.adoc
@@ -133,9 +133,9 @@ MBeans are registered at startup. The levels are:
 
 * `ContextOnly` -  Camel will register MBeans for the context (neither for any 
route nor for any processor).
 
-=== Registering new MBeans for new routes or endpoints
+=== Registering new MBeans for new routes, created by route templates, Kamelets
 
-Camel provides two settings to control when to register mbeans.
+Camel provides the following settings to control when to register mbeans.
 
 [width="100%",cols="34%,33%,33%",options="header",]
 |=======================================================================
@@ -145,6 +145,11 @@ Camel provides two settings to control when to register 
mbeans.
 |`registerNewRoutes` |`true` |If enabled then adding new routes after
 CamelContext has been started will also register
 MBeans from that given route.
+
+|`registerRoutesCreateByKamelet` |`true` |If enabled then adding routes 
created by Kamelet will also register MBeans from that given route.
+
+|`registerRoutesCreateByTemplate` |`true` |If enabled then adding routes 
created by route template (not Kamelet, see option above) will also register 
MBeans from that given route.
+
 |=======================================================================
 
 By default, Camel automatically registers MBeans for all routes configured at
@@ -153,6 +158,10 @@ registered for new routes added later on. This feature can 
be disabled, for
 example, if you are adding and removing temporary routes that do not require
 management.
 
+In *Camel 4.5* onwards there are additional options to configure whether 
routes created from route templates or Kamelets
+should be registered as MBeans or not. Disabling this allows to not clutter up 
with many MBeans for Kamelets or route
+templates that may not be needed for management and monitoring.
+
 CAUTION: However, be cautious when using the `registerAlways` option in
 conjunction with dynamic EIP patterns, such as the 
xref:components:eips:recipientList-eip.adoc[Recipient List],
 which have unique endpoints. This can potentially lead to system degradation

Reply via email to