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 bb3dd973f4bf9394717c3a67237ac206e6e34da7
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Thu Nov 17 08:29:49 2022 +0100

    Add delay parameter to all SQL Source Kamelets - SQLServer
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 kamelets/sqlserver-source.kamelet.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/kamelets/sqlserver-source.kamelet.yaml 
b/kamelets/sqlserver-source.kamelet.yaml
index 74af161b..0499e8ca 100644
--- a/kamelets/sqlserver-source.kamelet.yaml
+++ b/kamelets/sqlserver-source.kamelet.yaml
@@ -95,6 +95,11 @@ spec:
         x-descriptors:
           - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: true
+      delay:
+        title: Delay
+        description: The number of milliseconds before the next poll
+        type: integer
+        default: 500
   types:
     in:
       mediaType: application/json
@@ -121,6 +126,7 @@ spec:
       parameters:
         dataSource: "#bean:{{dsBean}}"
         onConsume: "{{?consumedQuery}}"
+        delay: "{{delay}}"
       steps:
       - marshal:
           json: 

Reply via email to