[ 
https://issues.apache.org/jira/browse/CAMEL-17711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-17711.
---------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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)

Reply via email to