Claus Ibsen created CAMEL-23416:
-----------------------------------

             Summary: camel-diagram - Add dev console
                 Key: CAMEL-23416
                 URL: https://issues.apache.org/jira/browse/CAMEL-23416
             Project: Camel
          Issue Type: Improvement
            Reporter: Claus Ibsen
             Fix For: 4.21.0


Add DiagramDevConsole extends AbstractDevConsole class that comes with the 
diagram functionality to output a route diagram.

Should be text based by default, but allow the user to specify theme=dark|light 
which then renders the image inlined in the html response

For json response, then we may need to base64 encode the image and return as a 
blob text in json.

But at first glance its a dev console, so if you run camel run foo.java 
--console and then have camel-diagram included then you can see those route 
diagrams. And we should then include camel-diagram by default in camel-jbang 
(dev mode) so its included.

 



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

Reply via email to