Repository navigation
CAMEL-25750: camel-management, camel-console - the body types over JMX, in the route coverage dump and in a body-type console - #28181
Merged
davsclaus merged 3 commits intoOct 20, 2026
Conversation
…X, in the route coverage dump and in a body-type console So the body types a workload brought to each step can be read and kept, such as after a test run: - JMX: each processor has BodyTypes and BodyKinds, and each route counts its steps reached with more than one type (VariedBodyTypes) and with more than one kind (MixedBodyKinds). The route console reads its counts from there. - The route coverage dump (dumpRoutesCoverageAsXml, written by the Camel test kits) has bodyTypes and bodyKinds attributes on each step a message reached. - The new body-type dev console lists those steps per route, with varied and filter options. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…coverage dump name the collection kind Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Contributor
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
davsclaus
merged commit Oct 20, 2026
2a64c4a
into
feature/CAMEL-25750-body-type-registry
2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #28178 (it needs the
BodyTypeRegistry). Review that one first; this PR's own changes are the commits that are not in #28178 (it merges #28178's branch to keep up with it). It is independent of #28180.This lets the body types a workload brought to each step be read and kept. For example, run the messages of the expected production workload in a test, then see what each EIP has been reached with. There are three ways to read them, besides the Java API (the
BodyTypeRegistrycontext plugin):JMX:
BodyTypesandBodyKinds(String[], kinds asnull,payload,dataorcollection);VariedBodyTypes) and with bodies of more than one kind (MixedBodyKinds), which need attention.The route console now reads its
variedBodyTypes/mixedBodyKindsfrom these attributes, instead of counting them itself.The route coverage dump (
dumpRoutesCoverageAsXml, which the Camel test kits write when route coverage is enabled) hasbodyTypesandbodyKindsattributes on each step a message reached:A new
body-typedev console lists the steps a message has reached, per route, with their types and kinds.varied=truekeeps only the steps reached with more than one type, andfilterselects routes. The text form uses the same column ascamel cmd route-structure.The Message History docs get a "Dumping the body types" section, and the catalog gets the new console.
Tests
ManagedBodyTypesTest(camel-management): the JMX attributes, the counts, nothing before a message, and the coverage dump.BodyTypeDevConsoleTest(camel-console): steps and kinds,varied,filter, nothing reached yet.Claude Code on behalf of davsclaus
🤖 Generated with Claude Code