From 2bc51276fa0875142eb755345c35c2ea5b649d88 Mon Sep 17 00:00:00 2001 From: croway Date: Sun, 12 Jul 2026 14:33:19 +0200 Subject: [PATCH] CAMEL-24025: observability-services docs - Spring Boot customization is now supported Since camel-spring-boot 4.22.0 the starter ships its defaults via an EnvironmentPostProcessor as the lowest precedence property source instead of a packaged config/application.properties, so user configuration overrides the defaults following the standard Spring Boot precedence rules. Replace the obsolete WARNING about the customization limitation accordingly. Co-Authored-By: Claude Fable 5 --- .../src/main/docs/observability-services.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-observability-services/src/main/docs/observability-services.adoc b/components/camel-observability-services/src/main/docs/observability-services.adoc index 74707d287d8f6..22547e3225468 100644 --- a/components/camel-observability-services/src/main/docs/observability-services.adoc +++ b/components/camel-observability-services/src/main/docs/observability-services.adoc @@ -96,7 +96,7 @@ NOTE: the management port is available since version 4.12.0. In previous version If you need to customize each of the different components provided within this service, then, you can specify in the `application.properties` each of the configuration as it would be done normally when you provide the individual component. -WARNING: The customization of the configuration for this component is not available for Spring Boot runtime due to a https://github.com/spring-projects/spring-boot/issues/24688[known limitation]. You can use this component in Spring Boot runtime with the default settings only. If you need to provide any customization, you'll need to configure each component separately. +NOTE: The customization of the configuration is available for the Spring Boot runtime since version 4.22.0: the starter contributes its defaults as the lowest precedence property source, so any user-provided configuration overrides them following the standard Spring Boot precedence rules. In earlier versions the starter packaged its defaults in `classpath:/config/application.properties`, which took precedence over the application's own `application.properties` due to a https://github.com/spring-projects/spring-boot/issues/24688[known limitation], so the defaults could only be overridden via higher precedence sources such as environment variables or system properties. == Default logging metrics on shutdown