[ 
https://issues.apache.org/jira/browse/CAMEL-22097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953170#comment-17953170
 ] 

Claus Ibsen commented on CAMEL-22097:
-------------------------------------

[~squakez] not sure if you know about this, just in case, since the JAR has the 
defaults in config/application.properties - not sure if that is a special SB 
feature or something. But maybe you know how this can be resolved.

> camel-observability-starter - Cannot change port 9876
> -----------------------------------------------------
>
>                 Key: CAMEL-22097
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22097
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-boot-starters
>         Environment:  
>  
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 4.12.0
>
>
> Becase inside the JAR you have
>  
> management.server.port=9876
>  
> Then you cannot override that in src/main/resources/application.properties 
> such as
> management.server.port=4444
>  
> When CSB startup you end up with
> {code:java}
> 2025-05-21T15:34:43.199+02:00  INFO 24573 --- [           main] 
> o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) 
> with context path '/'
> 2025-05-21T15:34:43.219+02:00  INFO 24573 --- [           main] 
> o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 9876 
> (http) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to