You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/10/28 12:19:00 UTC
[jira] [Commented] (CAMEL-22612) camel-observation-starter + Spring Boot 3.5.7 fails to start
[ https://issues.apache.org/jira/browse/CAMEL-22612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033537#comment-18033537 ]
Claus Ibsen commented on CAMEL-22612:
-------------------------------------
[~squakez] if you find time then this would be great to get fixed so we would be ready to cut 4.16 next week
> camel-observation-starter + Spring Boot 3.5.7 fails to start
> ------------------------------------------------------------
>
> Key: CAMEL-22612
> URL: https://issues.apache.org/jira/browse/CAMEL-22612
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-boot-starters
> Affects Versions: 4.15.0
> Environment: Apache Camel 4.15.0, including camel-observation-starter.
> Spring Boot 3.5.7, including spring-boot-actuator-autoconfigure.
> Reporter: Mikołaj Nowak
> Priority: Major
> Fix For: 4.16.0
>
>
> With Apache Camel 4.15.0 and Spring Boot 3.5.7, camel-observation-starter causes application startup error:
> The bean 'tracingAwareMeterObservationHandler', defined in class path resource [org/apache/camel/observation/starter/ObservationAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/boot/actuate/autoconfigure/observation/ObservationAutoConfiguration$MeterObservationHandlerConfiguration$TracingAndMetricsObservationHandlerConfiguration.class] and overriding is disabled.
>
> Setting camel.observation.enabled to false resolves the startup error, but then tracing does not work for Camel routes. The issue might be related to CAMEL-22349.
>
> As a temporary workaround, I downgraded Camel to 4.14.0. The issue does not occur in that version.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)