You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/02/25 06:28:00 UTC
[jira] [Created] (CAMEL-17711) camel-jbang - Running Camel K integration to support spec/sources
Claus Ibsen created CAMEL-17711:
-----------------------------------
Summary: camel-jbang - Running Camel K integration to support spec/sources
Key: CAMEL-17711
URL: https://issues.apache.org/jira/browse/CAMEL-17711
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 3.16.0
So you can run
{code}
apiVersion: camel.apache.org/v1
kind: Integration
metadata:
name: zzz-int
spec:
flows:
- from:
uri: "timer:demo"
parameters:
period: 3000
steps:
- process:
ref: myProcessor
- log: "${body} + ${headers}"
sources:
- content: |-
beans {
myProcessor = processor {
it.in.body = 'Hello Camel K!'
}
}
name: xxx.groovy
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)