davsclaus opened a new pull request, #24598:
URL: https://github.com/apache/camel/pull/24598

   ## Summary
   
   _Claude Code on behalf of davsclaus_
   
   - Adds a new lightweight **activity queue** to `BacklogTracer` that captures 
a rolling window of completed exchange summaries (metadata only — no body or 
headers)
   - Each time an exchange completes a route (`isLast()`), a compact summary is 
captured with exchangeId, routeId, timestamp, elapsed, failed status, 
exception, and endpointUri
   - Activity queue is bounded (configurable via `activitySize`, default 100) 
and works in standby mode — no need to enable full tracing
   - New `ActivityDevConsole` exposes the activity data as JSON via the dev 
console API
   - JMX support via `ManagedBacklogTracerMBean`
   - Configurable via `camel.tracer.activitySize` property
   
   This is the foundation for the upcoming TUI Activity tab ([boot-ui Live 
Activity](https://github.com/jdubois/boot-ui/blob/main/docs/FEATURES.md) 
inspired), which will show a live exchange feed with KPI strip. The activity 
queue provides the data without the overhead of full step-by-step tracing.
   
   **TODO:** camel-spring-boot needs a corresponding update for the new 
`activitySize` option.
   
   JIRA: https://issues.apache.org/jira/browse/CAMEL-24003
   
   ## Test plan
   
   - [x] `camel-api` builds successfully
   - [x] `camel-base-engine` builds successfully
   - [x] `camel-console` builds successfully
   - [x] `camel-management-api` builds successfully
   - [x] `camel-management` builds successfully
   - [x] `camel-main` builds successfully
   - [x] `camel-catalog` builds successfully
   - [ ] CI tests pass
   - [ ] Integration test with running Camel app confirms activity data is 
captured
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   Co-Authored-By: Claude Opus 4.6 <[email protected]>


-- 
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]

Reply via email to