Nikita Awasthi created CAMEL-23771:
--------------------------------------

             Summary: Add Java DSL model writer to Camel CLI, JMX, and TUI
                 Key: CAMEL-23771
                 URL: https://issues.apache.org/jira/browse/CAMEL-23771
             Project: Camel
          Issue Type: New Feature
          Components: camel-jbang, camel-management
            Reporter: Nikita Awasthi


The new Java DSL model writer (camel-java-io, CAMEL-23757) can convert Camel 
model definitions (routes, REST, route templates, templated routes, 
restConfiguration, routeConfiguration, transformers, validators) from XML/YAML 
into compilable Java DSL source code.

This ticket covers exposing this capability through:

*Camel CLI (JBang)*
- Add a command to convert XML/YAML route files to Java DSL (e.g. {{camel cmd 
export-java}} or {{camel cmd transform-dsl}})
- Support converting individual files or entire projects
- Output to stdout or write .java files

*JMX / Management*
- Expose route-to-Java-DSL conversion via the management API
- Allow dumping running routes as Java DSL (complement to existing XML/YAML 
dump via {{camel_runtime_route_dump}})

*TUI*
- Add a route view/export option that shows the Java DSL representation of a 
route
- Useful for developers who want to copy route definitions from a running 
application

See documentation: 
docs/user-manual/modules/ROOT/pages/java-dsl-model-writer.adoc



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to