Claus Ibsen created CAMEL-26351:
-----------------------------------
Summary: camel-diagram - show the body types on the arrows of a
route diagram image
Key: CAMEL-26351
URL: https://issues.apache.org/jira/browse/CAMEL-26351
Project: Camel
Issue Type: Improvement
Components: camel-jbang, camel-diagram
Reporter: Claus Ibsen
Fix For: 4.24.0
The route-structure of a running integration has the body types each step has
been reached with (CAMEL-25892), when the message history recorded them (such
as in the dev profile). The TUI diagram shows them; the PNG of camel cmd
route-diagram does not.
Draw them as a label on the arrow into each step: the simple class names
(GenericFile, LinkedHashMap). A step reached with bodies of more than one kind
(payload and data) gets a warning label with the kinds, as in the TUI.
Add an option --body-types to turn it on and off, on by default like --metric.
Without body types in the data the diagram does not change.
_Filed by Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)