You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/09/14 04:40:02 UTC

(camel-spring-boot) branch camel-spring-boot-4.22.x updated: Reword micrometer shutdown-filters Javadoc to avoid mis-nested AsciiDoc (#1974)

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

davsclaus pushed a commit to branch camel-spring-boot-4.22.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/camel-spring-boot-4.22.x by this push:
     new 825f6ec38fe Reword micrometer shutdown-filters Javadoc to avoid mis-nested AsciiDoc (#1974)
825f6ec38fe is described below

commit 825f6ec38fe00650e7a27303f4a67cf64cbb4a5c
Author: Adriano Machado <60...@users.noreply.github.com>
AuthorDate: Mon Sep 14 00:39:56 2026 -0400

    Reword micrometer shutdown-filters Javadoc to avoid mis-nested AsciiDoc (#1974)
    
    The Javadoc of camel.metrics.log-metrics-on-shutdown-filters is copied
    into the generated starters/micrometer.adoc table. Its two `*` characters
    (`*` and `camel.exchanges.*`) pair up as AsciiDoc constrained bold across
    the monospace spans, so Asciidoctor emits <code>...<strong></code>. The
    website's HTML-to-Markdown step cannot recover from that nesting and
    skips the page, leaving starters/micrometer.md missing.
    
    Reword the sentence so only one `*` remains. A passthrough (+...+) is
    avoided because it would also show up literally in the Spring
    configuration-metadata tooltip.
    
    See apache/camel-website#1746
    
    _Claude Code on behalf of Adriano Machado (@ammachado)_
    
    _This was generated by an AI agent and may contain inaccuracies.
    Please verify before relying on it._
    
    (cherry picked from commit 6cca665c971b41e75e272df8f471731549c60e4d)
---
 .../camel-micrometer-starter/src/main/docs/micrometer.json            | 2 +-
 .../micrometer/springboot/metrics/CamelMetricsConfiguration.java      | 4 ++--
 docs/spring-boot/modules/ROOT/pages/starters/micrometer.adoc          | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json b/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json
index f38154a4dce..db5c5492073 100644
--- a/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json
+++ b/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json
@@ -101,7 +101,7 @@
     {
       "name": "camel.metrics.log-metrics-on-shutdown-filters",
       "type": "java.lang.String",
-      "description": "List of metrics (comma separated) to log when application is shutting down. You can use `*` character to log any metrics containing the wildcard, for example `camel.exchanges.*` (default to all metrics available).",
+      "description": "List of metrics (comma separated) to log when application is shutting down. You can use a wildcard to log any metrics matching a pattern, for example `camel.exchanges.*` (default to all metrics available).",
       "sourceType": "org.apache.camel.component.micrometer.springboot.metrics.CamelMetricsConfiguration"
     },
     {
diff --git a/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsConfiguration.java b/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsConfiguration.java
index 71499c70383..5ca7b4fa6cb 100644
--- a/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsConfiguration.java
+++ b/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsConfiguration.java
@@ -101,8 +101,8 @@ public class CamelMetricsConfiguration {
     private boolean logMetricsOnShutdown = false;
 
     /**
-     * List of metrics (comma separated) to log when application is shutting down. You can use `*` character to log any
-     * metrics containing the wildcard, for example `camel.exchanges.*` (default to all metrics available).
+     * List of metrics (comma separated) to log when application is shutting down. You can use a wildcard to log any
+     * metrics matching a pattern, for example `camel.exchanges.*` (default to all metrics available).
     */
     private String logMetricsOnShutdownFilters;
 
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/micrometer.adoc b/docs/spring-boot/modules/ROOT/pages/starters/micrometer.adoc
index 8b9ef721603..28309a8b936 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/micrometer.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/micrometer.adoc
@@ -39,7 +39,7 @@ The starter supports 17 options, which are listed below.
 | camel.metrics.enable-route-event-notifier | Set whether to enable the MicrometerRouteEventNotifier for capturing metrics on the total number of routes and total number of routes running. | true | Boolean
 | camel.metrics.enable-route-policy | Set whether to enable the MicrometerRoutePolicyFactory for capturing metrics on route processing times. | true | Boolean
 | camel.metrics.log-metrics-on-shutdown | Log metrics when application is shutting down. (default, `false`). | false | Boolean
-| camel.metrics.log-metrics-on-shutdown-filters | List of metrics (comma separated) to log when application is shutting down. You can use `*` character to log any metrics containing the wildcard, for example `camel.exchanges.*` (default to all metrics available). |  | String
+| camel.metrics.log-metrics-on-shutdown-filters | List of metrics (comma separated) to log when application is shutting down. You can use a wildcard to log any metrics matching a pattern, for example `camel.exchanges.*` (default to all metrics available). |  | String
 | camel.metrics.naming-strategy | Controls the name style to use for metrics. Default = uses micrometer naming convention. Legacy = uses the classic naming style (camelCase) | default | String
 | camel.metrics.route-policy-exclude-pattern | Pattern to exclude routes (by id) to capture. Multiple route ids can be separated by comma. |  | String
 | camel.metrics.route-policy-level | Sets the level of information to capture. Possible values are all,route,context. all = both context and routes. route = routes only. context = camel context only. | all | String