Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19361

camel-jbang - Parse trait.camel.apache.org/camel.properties from KameletBinding

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      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
      

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: