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

   _Claude Code on behalf of davsclaus_
   
   Backport of #27198 to `camel-4.22.x` 
([CAMEL-25222](https://issues.apache.org/jira/browse/CAMEL-25222)).
   
   **This is not a straight cherry-pick, so it needs a review.** 4.22.x does 
not have the typed `CodeLine` records of the route-dump console (CAMEL-24565), 
so it builds its code lines as `JsonObject`s. The console change was ported by 
hand to that form; the logic is the same as on main. The test class did not 
exist on 4.22.x, so this adds one with only the new test, written for the 
`JsonArray` result. The dumper changes (`LwModelToYAMLDumper`, 
`LwModelToXMLDumper`) and `DumpModelThrowExceptionInstanceTest` are the same as 
on main, apart from the import conflict (`SwitchDefinition` is not on 4.22.x).
   
   Tests on 4.22.x:
   - `RouteDumpDevConsoleTest` (new);
   - camel-core `DumpModel*` (42);
   - camel-yaml-io (148), camel-xml-io (413) and camel-console (140).
   
   🤖 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