oscerd opened a new pull request, #22355: URL: https://github.com/apache/camel/pull/22355
## Summary - 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 ## Test plan - [x] All 329 existing `camel-jbang-core` tests pass - [ ] Manual verification: `camel run --port=9000 --management-port=34835 --console` with a REST route should serve REST endpoints on port 9000 and management endpoints on port 34835 _Claude Code on behalf of Andrea Cosentino_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
