[
https://issues.apache.org/jira/browse/CAMEL-20217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17795450#comment-17795450
]
Claus Ibsen commented on CAMEL-20217:
-------------------------------------
This is also already possible see the bind command.
> 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)