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/06/07 07:05:34 UTC
[camel-kamelets] 02/04: Added Azure Storage Queue Source Kamelet
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch azure-storage-queue-source
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit d0d75244ea679949320ffa2c7d9260bdbf4d30df
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jun 7 09:00:12 2021 +0200
Added Azure Storage Queue Source Kamelet
---
.../azure-storage-queue-source.kamelet.yaml | 54 ++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/library/camel-kamelets-catalog/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml b/library/camel-kamelets-catalog/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
new file mode 100644
index 0000000..ee795b1
--- /dev/null
+++ b/library/camel-kamelets-catalog/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
@@ -0,0 +1,54 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+ name: azure-storage-queue-source
+ annotations:
+ camel.apache.org/kamelet.support.level: "Preview"
+ camel.apache.org/catalog.version: "main-SNAPSHOT"
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNzAuMDUzIDM0LjYzNEg1MC41OGw5LjczNiA3LjgwNXptLTM5LjQyIDEwLjQ4OG [...]
+ camel.apache.org/provider: "Apache Software Foundation"
+ camel.apache.org/kamelet.group: "Azure Storage Queue"
+ labels:
+ camel.apache.org/kamelet.type: "source"
+spec:
+ definition:
+ title: "Azure Storage Queue Source"
+ description: |-
+ Receive Messages from Azure Storage queues.
+ required:
+ - accountName
+ - queueName
+ - accessKey
+ type: object
+ properties:
+ accountName:
+ title: Account Name
+ description: The Azure Storage Queue account name.
+ type: string
+ queueName:
+ title: Queue Name
+ description: The Azure Storage Queue container name.
+ type: string
+ accessKey:
+ title: Access Key
+ description: The Azure Storage Queue access Key.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ maxMessages:
+ title: Maximum Messages
+ description: Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned. By default it will consider 1 message to be retrieved, the allowed range is 1 to 32 messages.
+ type: int
+ default: 1
+ dependencies:
+ - "camel:azure-storage-queue"
+ - "camel:kamelet"
+ flow:
+ from:
+ uri: "azure-storage-queue://{{accountName}}/{{queueName}}"
+ parameters:
+ accessKey: "{{accessKey}}"
+ maxMessages: "{{maxMessages}}"
+ steps:
+ - to: "kamelet:sink"