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

   ## Summary
   
   - Adds `RouteTopologyDumper` SPI in `camel-api` for computing inter-route 
topology — the graph of how routes connect through shared endpoints (direct, 
seda, kafka, etc.)
   - Provides `DefaultRouteTopologyDumper` implementation using static model 
analysis (`EndpointRequiredDefinition` + `ProcessorDefinitionHelper`)
   - Adds `route-topology` dev console with text and JSON output
   - Adds `camel cmd route-topology` JBang CLI command
   - Registers via `AbstractCamelContext` lazy plugin + `PluginHelper` accessors
   
   ### Topology model
   
   - **Nodes** = routes, classified as `trigger` (timer/quartz/cron/scheduler) 
or `route`
   - **Edges** = connections via shared endpoints, classified as `internal` 
(direct/seda/vertx/disruptor) or `external` (kafka, jms, etc.)
   - URI matching uses `scheme:context-path` only (query parameters stripped)
   - Self-referencing routes (cycles) are handled naturally
   
   ### Follow-ups
   
   - CAMEL-23657: Enhance component metadata for components where destination 
identity is in query parameters
   - MCP tool in `camel-jbang-mcp`
   - Diagram rendering integration in `camel-diagram`
   - REST DSL → direct topology edges
   
   ## Test plan
   
   - [x] Unit tests for dev console: 7 test scenarios (trigger nodes, internal 
connections, chained routes, self-referencing, isolated routes, fan-out, 
text/JSON output)
   - [x] Parametrized test in `RouteBasedDevConsoleTest` updated
   - [x] `mvn install -pl core/camel-console` passes
   - [x] Formatting verified with `mvn formatter:format impsort:sort`
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code) on behalf of 
Claus Ibsen


-- 
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