Aurélien Pupier created CAMEL-20217:
---------------------------------------
Summary: 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
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)