Skip to content

Commit

Permalink
Added repeatCount parameter to timer source Kamelet
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Nov 28, 2022
1 parent c53d24b commit c47e751
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ spec:
description: The content type of the generated message.
type: string
default: text/plain
repeatCount:
title: Repeat Count
description: Specifies a maximum limit of number of fires
type: integer
dependencies:
- "camel:core"
- "camel:timer"
Expand All @@ -60,6 +64,7 @@ spec:
uri: timer:tick
parameters:
period: "{{period}}"
repeatCount: "{{?repeatCount}}"
steps:
- set-body:
constant: "{{message}}"
Expand Down

0 comments on commit c47e751

Please sign in to comment.