azure storage queue sink Azure Storage Queue Sink

Provided by: "Apache Software Foundation"

Support Level for this Kamelet is: "Stable"

Send events to Azure Storage queues.

In the header, you can set the partition / ce-partition property to determine how long an event remains in the Azure Storage queue. Use PnDTnHnMn.nS. format. For example, PT20.345S parses as 20.345 seconds and P2D parses as 2 days. If you not set the property in the header, the Kamelet uses the default of P27D (7 days).

Configuration Options

The following table summarizes the configuration options available for the azure-storage-queue-sink 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

Dependencies

At runtime, the azure-storage-queue-sink Kamelet relies upon the presence of the following dependencies:

  • camel:core

  • camel:azure-storage-queue

  • camel:kamelet

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:timer-source"
      parameters:
        period: 10000
        message: 'test'
      steps:
        - to:
            uri: "kamelet:azure-storage-queue-sink"

You can now run it directly through the following command

camel run route.yaml