Skip to content

Timer Source

The IntegrationSource supports the Timer Kamelet for producing periodic messages with a custom payload, through its timer property.

Timer Source Example

Produces periodic messages with a custom payload.

apiVersion: sources.knative.dev/v1alpha1
kind: IntegrationSource
metadata:
  name: integration-source-timer
  namespace: knative-samples
spec:
  timer:
    period: 2000
    message: "Hello, Eventing Core"
  sink:
    ref:
      apiVersion: eventing.knative.dev/v1
      kind: Broker
      name: default

Inside of the timer object we define the period and the message that is send to the referenced sink.

More details about the Apache Camel Kamelet timer-source.

We use analytics and cookies to understand site traffic. Information about your use of our site is shared with Google for that purpose. Learn more.

× OK