oscerd opened a new pull request, #22359: URL: https://github.com/apache/camel/pull/22359
## Backport of #22355 Cherry-pick of #22355 onto `camel-4.18.x`. **Original PR:** #22355 - CAMEL-23272: Enable main HTTP server when --port is explicitly specified **Original author:** @oscerd **Target branch:** `camel-4.18.x` ### Original description - When using `camel run --port=9000 --management-port=34835 --console`, the REST endpoints were incorrectly served on the management port instead of port 9000 - Root cause: `--port` wrote `camel.server.port` but not `camel.server.enabled=true`, so `BaseMainSupport.setHttpServerProperties()` skipped creating the main HTTP server — only the management server was created - Fix: enable the main HTTP server when `--port` is explicitly specified, consistent with how `ExportCamelMain` already handles port configuration _Claude Code on behalf of Andrea Cosentino_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
