apiVersion: camel.apache.org/v1
kind: Pipe
metadata:
  name: simple-filter-action-pipe
spec:
  source:
    ref:
      kind: Kamelet
      apiVersion: camel.apache.org/v1
      name: timer-source
    properties:
      message: "Hello John"
  steps:
    - ref:
        kind: Kamelet
        apiVersion: camel.apache.org/v1
        name: simple-filter-action
      properties:
        expression: "\\${body} contains 'John'"
  sink:
    ref:
      kind: KafkaTopic
      apiVersion: kafka.strimzi.io/v1beta1
      name: my-topic
