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

Aurélien Pupier commented on CAMEL-20217:
-----------------------------------------

I feel like the bind command is already an advanced one for people that already 
know which kamelets they want to use. I think it will be convenient ot have 
also a "default example" using the init command like it is provided for Camel 
route, Integration and Kamelets.

> Provide option to create a Pipe file through Camel Jbang init
> -------------------------------------------------------------
>
>                 Key: CAMEL-20217
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20217
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jbang
>            Reporter: Aurélien Pupier
>            Priority: Major
>
> it would be convenient to provide an option of Camel Jbang init to create a 
> Pipe file.
> There is currently an option --integration to create a Camel K integration, 
> maybe we can add an exclusive option --pipe
> What would be the content of the file?
> proposal:
> {noformat}
>   apiVersion: camel.apache.org/v1
>   kind: Pipe
>   metadata:
>     name: my-pipe // maybe use the name of the file here?
>   spec:
>     source:
>       ref:
>         kind: Kamelet
>         apiVersion: camel.apache.org/v1
>         name: timer-source
>         properties:
>           message: hello
>     sink:
>       ref:
>         kind: Kamelet
>         apiVersion: camel.apache.org/v1
>         name: log-sink
> {noformat}



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

Reply via email to