You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/06/19 18:09:31 UTC
[PR] CAMEL-23805: HTTP endpoint summary not logged when supervised route controller is enabled [camel]
davsclaus opened a new pull request, #24144:
URL: https://github.com/apache/camel/pull/24144
## Summary
When using `camel.routeController.enabled=true` (supervised route controller), the HTTP endpoint summary log is missing on startup. The endpoints work correctly, but the startup log listing them never appears.
**Root cause:** `MainHttpServerUtil` registers an EventNotifier that logs the HTTP summary on `CamelContextStartedEvent`. With the supervised route controller, routes start AFTER that event fires (in `onCamelContextFullyStarted()`), so `platformHttpComponent.getHttpEndpoints()` is empty when the summary runs.
**Fix:**
- Fire `CamelContextRoutesStartedEvent` from `DefaultSupervisingRouteController` after routes finish starting
- Have `MainHttpServerUtil` also listen for `CamelContextRoutesStartedEvent` to re-trigger the summary
No double-logging risk — `logSummary()` has a guard that only logs when endpoints have changed.
_Claude Code on behalf of Claus Ibsen_
Co-Authored-By: Claude <no...@anthropic.com>
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23805: HTTP endpoint summary not logged when supervised route controller is enabled [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #24144:
URL: https://github.com/apache/camel/pull/24144#issuecomment-4753892046
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `components/camel-platform-http-main`
- `core/camel-base-engine`
> :information_source: Dependent modules were not tested because the total number of affected modules exceeded the threshold (50). Use the `test-dependents` label to force testing all dependents.
<details><summary>Build reactor — dependencies compiled but only changed modules were tested (2 modules)</summary>
- Camel :: Base Engine
- Camel :: Platform HTTP :: Main
</details>
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/27841535405)
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23805: HTTP endpoint summary not logged when supervised route controller is enabled [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #24144:
URL: https://github.com/apache/camel/pull/24144
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23805: HTTP endpoint summary not logged when supervised route controller is enabled [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #24144:
URL: https://github.com/apache/camel/pull/24144#issuecomment-4753810006
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
* You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org