# Apache Camel Timer Source
#
# Timer Component documentation: https://github.com/apache/camel/blob/master/camel-core/src/main/docs/timer-component.adoc
#
# List of available Apache Camel components: https://github.com/apache/camel/tree/master/components
#
apiVersion: sources.eventing.knative.dev/v1alpha1
kind: CamelSource
metadata:
  name: camel-timer-source
spec:
  source:
    component:
      # Using 'period' URI option (see component documentation)
      uri: timer:tick?period=3s
  sink:
    apiVersion: messaging.knative.dev/v1alpha1
    kind: Channel
    name: camel-test
