You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2026/08/12 08:57:06 UTC
[PR] Fixes #8871 - Support BacklogTracer activityEnabled and activitySize options [camel-quarkus]
jamesnetherton opened a new pull request, #8989:
URL: https://github.com/apache/camel-quarkus/pull/8989
## Summary
Adds support for the two new `BacklogTracer` options introduced in Camel 4.22.0:
- `activityEnabled` — enables activity tracking (rolling window of completed exchange summaries with enriched span decorator attributes)
- `activitySize` — bounds the activity queue size (default 100, matching Camel's default)
## Changes
### `CamelConfig.TraceConfig`
Added `activityEnabled()` and `activitySize()` to the deprecated `TraceConfig` interface, exposed as:
- `quarkus.camel.trace.activity-enabled`
- `quarkus.camel.trace.activity-size`
Defaults match those from Camel's `TracerConfigurationProperties` (`false` and `100` respectively).
### `CamelContextRecorder.createBacklogTracerCustomizer`
Wires the new options onto the `BacklogTracer` with a fallback chain:
1. `camel.trace.activity-enabled` / `camel.trace.activity-size` (standard camel-main properties, handled natively by camel-main)
2. `quarkus.camel.trace.activity-enabled` / `quarkus.camel.trace.activity-size` (deprecated `TraceConfig` properties)
### Tests
- `CamelTraceTest` — updated to assert default values (`activityEnabled=false`, `activitySize=100`)
- `CamelTraceActivityTest` — new, verifies configuration via `quarkus.camel.trace.*`
- `CamelTraceActivityCamelMainFallbackTest` — new, verifies configuration via `camel.trace.*` fallback
Fixes #8871
--
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] Fixes #8871 - Support BacklogTracer activityEnabled and activitySize options [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton merged PR #8989:
URL: https://github.com/apache/camel-quarkus/pull/8989
--
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