[ 
https://issues.apache.org/jira/browse/CAMEL-22612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-22612.
---------------------------------
    Resolution: Fixed

> 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
>            Assignee: Pasquale Congiusti
>            Priority: Major
>             Fix For: 4.16.0
>
>         Attachments: demo.zip
>
>
> 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)

Reply via email to