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

   Items 15 and 17 of 
[CAMEL-26864](https://issues.apache.org/jira/browse/CAMEL-26864), the last 
group, after #29639, #29653 and #29657.
   
   **Consumers: a count for event-driven consumers (17)**
   The direct consumer of route seven received 200+ messages, but the tab had 
nothing to show for it: POLLS is the number of polls of a scheduled consumer 
(or the fires of a timer), and a direct consumer does not poll. A TOTAL column 
now has the messages each consumer received, the exchanges of its route, for 
every kind of consumer. It can be sorted on, and `tui_get_table` has it as 
`total`. The help page already explained "POLLS vs TOTAL" without a TOTAL 
column; its example screen now has the columns of the tab.
   
   **Inspect: the Info panel of the diagram view (15)**
   - It showed the marker of the table's direction column: "Step: 1/6 \*->". It 
now says what the step is: `message in`, `message out`, `to a remote endpoint` 
or `to a stub` (with `(remote)` or `(stub)` for the route's input and output). 
The table keeps the markers, as `camel get history` has them.
   - "Changed:" was empty for the first step and for a step that changed 
nothing, and otherwise had the letters B, H, P, V. It now says `(first step)`, 
`nothing`, or the words: `body, properties`.
   
   Not changed, from item 15:
   - **CamelMessageBodySize is 0 at every step:** by design. It is set once, 
when the message enters the route 
(`DefaultRuntimeEndpointRegistry.onRouteInput`), as the size of the message the 
consumer created. The timer's message has no body, so 0. The size of the body 
at each step is shown next to the body ("String, 8 B").
   - **Two ids for the from step** (`from1` in the trace, `hello` in 
`tui_get_processor_detail`): the trace has the node id of the from, while the 
processor-detail console and the route structure (and so the Diagram) name the 
route's input by the route id. Left for a decision, as it is in camel-core's 
consoles.
   
   Tests: `ConsumersTabRenderTest` (parsed from a status with a direct and a 
timer consumer), `HistoryTabRenderTest`.
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 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]

Reply via email to