azure storage queue source Azure Storage Queue Source

Provided by: "Apache Software Foundation"

Support Level for this Kamelet is: "Stable"

Receive events from Azure Storage queues.

One header will be duplicated with different names for clarity at sink level, CamelAzureStorageQueueMessageId will be 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

accessKey

Access Key

Required The Azure Storage Queue access key.

string

accountName

Account Name

Required The Azure Storage Queue account name.

string

queueName

Queue Name

Required The Azure Storage Queue container name.

string

credentialType

Credential Type

Determines the credential strategy to adopt.

Enum values:

* SHARED_ACCOUNT_KEY * SHARED_KEY_CREDENTIAL * AZURE_IDENTITY

string

SHARED_ACCOUNT_KEY

maxMessages

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

  • mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.6.0-SNAPSHOT

  • 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