You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/03/11 17:33:04 UTC

[camel-kamelets] 02/04: Add delay option to google-* kamelet source - camel-google-mail

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch delay
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit bdd1712180ff56bb93a498d98bb8d51dea39e977
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 11 18:31:36 2021 +0100

    Add delay option to google-* kamelet source - camel-google-mail
---
 google-mail-stream-source.kamelet.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/google-mail-stream-source.kamelet.yaml b/google-mail-stream-source.kamelet.yaml
index 651002d..0fbe7c6 100644
--- a/google-mail-stream-source.kamelet.yaml
+++ b/google-mail-stream-source.kamelet.yaml
@@ -48,6 +48,11 @@ spec:
         type: string
         x-descriptors:
         - urn:alm:descriptor:com.tectonic.ui:password
+      delay:
+        title: Delay
+        description: Milliseconds before the next poll
+        type: integer
+        default: 500
       applicationName:
         title: Application name
         description: Google Mail application name
@@ -83,6 +88,7 @@ spec:
         accessToken: "{{accessToken}}"
         refreshToken: "{{refreshToken}}"
         clientSecret: "{{clientSecret}}"
+        delay: "{{delay}}"
         applicationName: "{{applicationName}}"
         markAsRead: "{{markAsRead}}"
         labels: "{{labels}}"