davsclaus opened a new pull request, #23260: URL: https://github.com/apache/camel/pull/23260
## Summary _Claude Code on behalf of Claus Ibsen_ This PR adds a new **Consumers tab** to the Camel JBang TUI monitor and improves health-check visibility across tabs. ### New: Consumers tab (tab 4) A dedicated tab showing all consumers for the selected integration, inserted between Routes and Endpoints: - **Columns**: ID · STATUS · TYPE · INFLIGHT · TOTAL · PERIOD · SINCE-LAST · URI - **Sorting**: press `s` to cycle through columns (ID, STATUS, TYPE, INFLIGHT, TOTAL, URI); default sort by ID - Scheduled consumers show polling period/delay in the PERIOD column - SINCE-LAST shows start/complete/fail timestamps as `s/c/f` - Tab label shows consumer count badge: ` 4 Consumers (N)` - Tab key bindings shifted: Consumers=4, Endpoints=5, Health=6, History=7, Trace=8; footer updated to "1-8 tabs" ### Health check DOWN indicators **Consumers tab**: when a consumer's health check (`consumer:<routeId>`) is DOWN, the STATUS cell turns red and is prefixed with `⚠`, and the URI column switches from the endpoint URI to the health check failure message — making unhealthy consumers immediately visible without switching to the Health tab. **Health tab label**: the tab title now distinguishes healthy from unhealthy states: - All UP: ` 6 Health (N)` in yellow (total count) - Any DOWN: ` 6 Health (N DOWN)` in red bold — immediate at-a-glance alarm ### Other fixes - Health tab MESSAGE column was not showing (was only reading `details.failure.error.message`; fixed to read the top-level `message` field, same as `camel get health`) - Health tab: removed the heap memory Gauge widget that appeared as noise at the bottom; health check table now occupies the full area - Consumers tab: PERIOD column is right-aligned to visually separate it from TOTAL ## Test plan - [ ] Start a Camel integration and open `camel tui` - [ ] Press `4` — Consumers tab shows all consumers with correct columns and sort - [ ] Press `s` to cycle sort columns - [ ] Press `6` — Health tab shows MESSAGE column populated for DOWN checks - [ ] Trigger a consumer health check failure (e.g. stop a Kafka broker) — verify `⚠ Started` in red on Consumers tab and `(N DOWN)` in red on Health tab label 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
