4.3. シンク kamelet の例
以下は、log-sink
kamelet の例の内容です。
apiVersion: camel.apache.org/v1alpha1 kind: Kamelet metadata: name: log-sink labels: camel.apache.org/kamelet.type: "sink" spec: definition: title: "Log Sink" description: "Consume events" flow: from: uri: "kamelet:source" steps: - convert-body-to: 'java.lang.String' - log: "${body}"