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 2023/05/17 04:58:00 UTC
[jira] [Created] (CAMEL-19361) camel-jbang - Parse trait.camel.apache.org/camel.properties from KameletBinding
Claus Ibsen created CAMEL-19361:
-----------------------------------
Summary: 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
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)
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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)