This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch sql-sources in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 21d9e1e85fc04d009d09394113571a571d65ff8a Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Nov 17 08:23:29 2022 +0100 Add delay parameter to all SQL Source Kamelets - PostgreSQL Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- kamelets/postgresql-source.kamelet.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kamelets/postgresql-source.kamelet.yaml b/kamelets/postgresql-source.kamelet.yaml index 0a0ecfb3..32a43cf5 100644 --- a/kamelets/postgresql-source.kamelet.yaml +++ b/kamelets/postgresql-source.kamelet.yaml @@ -77,6 +77,11 @@ spec: description: A query to run on a tuple consumed. type: string example: 'DELETE FROM accounts where user_id = :#user_id' + delay: + title: Delay + description: The number of milliseconds before the next poll + type: integer + default: 500 types: out: mediaType: application/json @@ -104,6 +109,7 @@ spec: parameters: dataSource: "#bean:{{dsBean}}" onConsume: "{{?consumedQuery}}" + delay: "{{delay}}" steps: - marshal: json: