[ 
https://issues.apache.org/jira/browse/CAMEL-22981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18058061#comment-18058061
 ] 

Claus Ibsen commented on CAMEL-22981:
-------------------------------------

You can use copy an existing snippet to clipboard, and use

 camel transform route clipboard.java --output=clipboard

it dumps in yaml by default, but it has xml as well

> documentation - Add more YAML DSL snippets
> ------------------------------------------
>
>                 Key: CAMEL-22981
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22981
>             Project: Camel
>          Issue Type: Task
>          Components: documentation
>            Reporter: Claus Ibsen
>            Priority: Minor
>              Labels: help-wanted
>             Fix For: 4.x
>
>
> When we have code snippets then we should aim for having this in multiple DSLs
>  * Java
>  * XML
>  * YAML
> We can use the tab feature so the end user can click the tab to show in the 
> DSL of choice.
> We should do this for the EIP pages and then later for components and 
> elsewhere



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

Reply via email to