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

   ## Summary
   
   - Remove the early rejection of Java as `fromFormat` in the MCP 
`camel_transform_route` tool
   - Add `camel-java-joor-dsl` dependency for Java route loading
   - Support both full `RouteBuilder` classes and bare DSL snippets (e.g. 
`from("xxx").to("yyy")`) by auto-wrapping snippets in a `RouteBuilder` class
   - Add `TransformToolsTest` with 8 tests covering XML/YAML/Java 
transformations and snippet handling
   
   ## Test plan
   
   - [x] `TransformToolsTest#transformXmlToYaml` — XML to YAML transformation
   - [x] `TransformToolsTest#transformYamlToXml` — YAML to XML transformation
   - [x] `TransformToolsTest#transformJavaToYaml` — Full Java class to YAML
   - [x] `TransformToolsTest#transformJavaToXml` — Full Java class to XML
   - [x] `TransformToolsTest#transformJavaSnippetToYaml` — Bare snippet to YAML
   - [x] `TransformToolsTest#transformJavaSnippetToXml` — Bare snippet to XML
   - [x] `TransformToolsTest#sameFormatReturnsInput` — Same format passthrough
   - [x] `TransformToolsTest#unsupportedFormatReturnsNotSupported` — 
Unsupported format handling
   
   _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