[ https://issues.apache.org/jira/browse/CAMEL-22089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953150#comment-17953150 ]
Pasquale Congiusti commented on CAMEL-22089: -------------------------------------------- Maybe it could be simpler than that. We can mimic the behavior of the other runtimes. If the parameter exists, then, we assign the specified port, otherwise it uses the default one specific of the given runtime (generally 8080). That would cover the camel-main part. However, I advocate of maintaining a default port if the user is using the observability-services component as requested in CAMEL-21950. The goal was that any tool (ie, a camel dashboard on the cloud) can scrape the default observability port to understand if the application is exposing the services provided by this component. > camel-observability-services - Port 9876 should be optional > ----------------------------------------------------------- > > Key: CAMEL-22089 > URL: https://issues.apache.org/jira/browse/CAMEL-22089 > Project: Camel > Issue Type: Improvement > Affects Versions: 4.12.0 > Reporter: Claus Ibsen > Priority: Major > Fix For: 4.12.0 > > > We should not hardcode port 9876 for this as end users may not want to use > this, and it should be something explicit if you want that. Otherwise it > should be using the default platform-http port number that are 8080 etc. > > -- This message was sent by Atlassian Jira (v8.20.10#820010)