You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/10/21 12:38:00 UTC
[jira] [Resolved] (CAMEL-25462) camel-platform-http-main - management settings ignored on a shared server port
[ https://issues.apache.org/jira/browse/CAMEL-25462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-25462.
--------------------------------------
Resolution: Fixed
Fixed in 4.24.0 (main) via https://github.com/apache/camel/pull/28175, in 4.22.3 (camel-4.22.x) via https://github.com/apache/camel/pull/28216 and in 4.18.6 (camel-4.18.x) via https://github.com/apache/camel/pull/28233. camel run --mcp does not exist on camel-4.18.x, so the KameletMain part is on main and camel-4.22.x only.
_Claude Code on behalf of Andrea Cosentino_
> camel-platform-http-main - management settings ignored on a shared server port
> ------------------------------------------------------------------------------
>
> Key: CAMEL-25462
> URL: https://issues.apache.org/jira/browse/CAMEL-25462
> Project: Camel
> Issue Type: Improvement
> Components: camel-platform-http
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.18.6, 4.22.3, 4.24.0
>
>
> When both the embedded HTTP server ({{camel.server.enabled=true}}) and the HTTP management server ({{camel.management.enabled=true}}) are configured with the same port (both default to 8080), {{ManagementHttpServer}} does not start a server of its own. It registers the management endpoints on the HTTP server instead (see {{ManagementHttpServer.doInit()}}).
> In that mode the options that configure the management HTTP server itself, for example {{camel.management.host}} and {{camel.management.path}}, are not applied, and nothing is logged about it. They only take effect when the management server has a dedicated port ({{camel.management.port}}).
> Proposed:
> * At startup, when the management server would share the HTTP server, detect management server-level settings that the shared server cannot apply, and fail with a clear message pointing to {{camel.management.port}}. Keep sharing the port when there are no such settings.
> * Document the port-sharing behaviour in {{platform-http-main.adoc}} and in the {{camel.management.port}} option description.
> * Add tests for the shared-port and dedicated-port cases.
> * Add an upgrade-guide note for the stricter startup check.
> _Claude Code on behalf of Andrea Cosentino_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)