Azure Storage Queue Source
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Receive events from Azure Storage queues.
One header is duplicated with different names for clarity at sink level. CamelAzureStorageQueueMessageId
is duplicated into azure.storage.queue.message.id
.
Configuration Options
The following table summarizes the configuration options available for the azure-storage-queue-source
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Access Key | Required The Azure Storage Queue access key. | string | |||
Account Name | Required The Azure Storage Queue account name. | string | |||
Queue Name | Required The Azure Storage Queue container name. | string | |||
Credential Type | Determines the credential strategy to adopt. Enum values: * SHARED_ACCOUNT_KEY * SHARED_KEY_CREDENTIAL * AZURE_IDENTITY | string | SHARED_ACCOUNT_KEY | ||
Maximum Messages | The maximum number of messages to get. You can specify a value between 1 and 32. The default is 1 (one message). If there are fewer than the maximum number of messages in the queue, then all the messages are returned. | integer | 1 |
Dependencies
At runtime, the azure-storage-queue-source
Kamelet relies upon the presence of the following dependencies:
-
camel:azure-storage-queue
-
camel:kamelet
-
camel:core
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:azure-storage-queue-source"
parameters:
.
.
.
steps:
- to:
uri: "kamelet:log-sink"
You can now run it directly through the following command
camel run route.yaml