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

   ## Summary
   
   - Add `sql-trace` dev console that captures SQL query executions flowing 
through `camel-sql` and `camel-jdbc` components using an `ExchangeSentEvent` 
notifier with a configurable circular buffer (default 200, range 25-1000)
   - Add SQL Trace TUI tab with KPI strip (total, avg, slowest, slow count, 
failed count), sortable master table with stable cursor tracking, and 
scrollable detail panel showing full SQL text
   - Add `camel get sql-trace` CLI command for non-TUI access
   - Support `CamelSqlQuery` header override, URL-decoding of URI-embedded 
queries, and `resource:classpath:` file reference resolution
   - Add 'e' shortcut to copy selected SQL into the SQL Query tab for editing
   - Home/End keys jump to top/bottom of the master table
   
   ## Test plan
   
   - [x] `SqlTraceTabRenderTest` covers rendering with data, empty state, KPI 
strip, detail panel, sorting, and selection context
   - [x] Verified cursor navigation (up/down/home/end) in live TUI
   - [x] Verified cursor stability when new data arrives (identity tracking)
   - [x] Verified 'e' key switches to SQL Query tab with SQL pre-filled
   - [ ] Manual: run a Camel route with `to("sql:SELECT * FROM users")`, open 
TUI, navigate to SQL Trace tab
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 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