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

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

> camel-jbang - Parse trait.camel.apache.org/camel.properties from 
> KameletBinding
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-19361
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19361
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang, camel-yaml-dsl
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.20.5, 3.21.0, 4.0-RC1, 4.0
>
>
> In case you configurations defined via a trait in KameletBinding
> (argh Camel K has so many small secrets to configure stuff instead of 
> standard Camel with application.properties)
> {code}
> apiVersion: camel.apache.org/v1alpha1
> kind: KameletBinding
> metadata:
>   name: sample
>   annotations:
>     trait.camel.apache.org/camel.properties: "camel.main.tracing=true"
> spec:
>   source:
>     ref:
>       kind: Kamelet
>       apiVersion: camel.apache.org/v1alpha1
>       name: timer-source
>     properties:
>       period: 5000
>       contentType: application/json
>       message:  '{"id":"1","field":"hello","message":"Camel Rocks"}'
>   steps:
>   - ref:
>       kind: Kamelet
>       apiVersion: camel.apache.org/v1alpha1
>       name: extract-field-action
>     properties:
>       field: "field"
>   sink:
>     ref:
>       kind: Kamelet
>       apiVersion: camel.apache.org/v1
>       name: log-sink
>     properties:
>       show-headers: false
> {code}



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

Reply via email to