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/05/18 11:52:52 UTC
[PR] CAMEL-23544: Fix null fromRouteId and endpoint tracking for delegating consumers (platform-http) [camel]
davsclaus opened a new pull request, #23286:
URL: https://github.com/apache/camel/pull/23286
## Summary
- **`DefaultPlatformHttpConsumer`**: override `setRouteId()` to propagate the route ID to the nested `VertxPlatformHttpConsumer`. Previously, the nested consumer was created in `doInit()` before `RouteService.doSetup()` called `setRouteId()` on the outer consumer, so exchanges carried a null `fromRouteId` and endpoint TOTAL counts showed 0.
- **`DefaultRuntimeEndpointRegistry`**: track the consumer's endpoint URI in the `inputs` map when it differs from the route's logical endpoint URI (e.g. `rest-openapi://...` → `platform-http:///path`). `RouteAddedEvent` now adds both URIs; `RouteRemovedEvent` removes both from `inputUtilization`. The `ExchangeCreatedEvent` handler keeps a defensive null-`routeId` fallback scan for other delegating components.
- **`SyntheticBacklogTracer` SPI** (new): extends `BacklogTracer` with `traceFirstNode` / `traceLastNode` for components that process exchanges inline and bypass the route pipeline (e.g. rest-openapi mock mode). `BacklogTracer` impl now implements this interface. `DefaultRestOpenapiProcessorStrategy` uses it to emit synthetic first/last trace events so mock responses participate in message-history capture.
## Test plan
- [ ] `DefaultRuntimeEndpointRegistry` existing tests pass
- [ ] `BacklogTracer` existing tests pass
- [ ] rest-openapi consumer with mock mode: verify trace events appear in history
- [ ] rest-openapi route with platform-http: verify TOTAL hit count increments correctly in endpoint statistics
_Claude Code on behalf of Claus Ibsen_
--
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-23544: Fix null fromRouteId and endpoint tracking for delegating consumers (platform-http) [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23286:
URL: https://github.com/apache/camel/pull/23286#issuecomment-4477972334
: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
Re: [PR] CAMEL-23544: Fix null fromRouteId and endpoint tracking for delegating consumers (platform-http) [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on PR #23286:
URL: https://github.com/apache/camel/pull/23286#issuecomment-4478856506
Closing — all changes from this PR have been incorporated into the feat/camel-tui branch.
--
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-23544: Fix null fromRouteId and endpoint tracking for delegating consumers (platform-http) [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus closed pull request #23286: CAMEL-23544: Fix null fromRouteId and endpoint tracking for delegating consumers (platform-http)
URL: https://github.com/apache/camel/pull/23286
--
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