All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.kamelet-sink.yaml.tmpl Maven / Gradle / Ivy

There is a newer version: 4.8.1
Show newest version
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
  name: {{ .Name }}
  labels:
    camel.apache.org/kamelet.type: "sink"
spec:
  definition:
    title: "Log Sink"
    description: A sink that logs all data that it receives, useful for debugging purposes.
    properties:
      showHeaders:
        title: Show Headers
        description: Show the headers received
        type: boolean
        default: false
      showStreams:
        title: Show Streams
        description: Show the stream bodies (they may not be available in following steps)
        type: boolean
        default: false
  dependencies:
  - "camel:kamelet"
  - "camel:log"
  template:
    from:
      uri: "kamelet:source"
      steps:
      - to:
          uri: "log:info"
          parameters:
            showHeaders: "{{?showHeaders}}"
            showStreams: "{{?showStreams}}"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy