receiveFromAzureBlobStorage
Source processor that polls an Azure Blob Storage container according to the specified poll configuration.
All blobs found in the container are processed, unless the optional prefix parameter is specified to filter only matching blobs. Blobs selected for processing will be deleted after being processed or optionally moved to a backup container.
The following system-defined exchange properties are set for each processed blob:
| Property name | Description |
|---|---|
|
The name (key) of the blob. |
|
The content type of the blob. |
|
The content length of the blob in bytes. |
|
The last modified timestamp of the blob (ISO-8601). |
|
The ETag of the blob. |
|
The name of the container from which the blob was read. |
User-defined exchange properties:
In addition to the system-defined exchange properties listed above, any user-defined metadata that was set on the blob by the writer (or external system) can be forwarded as exchange properties using the forwardProperty() function. The property name must match the metadata key exactly.
An example of minimum required processor definition:
receiveFromAzureBlobStorage {
id = "AzureBlob_consumer"
blobContainerName = "my-container"
authenticationConfigKey = "azureAuthKey"
pollFixedDelayMillis = 500
}
Properties
| Name | Summary |
|---|---|
|
Adds a property from the blob’s metadata to a list to convert into message exchange properties. If an exchange property with the same name already exists, it will be replaced. |
|
The Azure Blob Storage container name to poll for blobs. Required. |
|
The Azure Blob Storage endpoint. Optional but must be set if service principal authentication is used. Must not be set if connection string authentication is used. |
|
A secret key that the server uses to look up the credentials needed to perform the Azure authentication. Required. |
|
The fixed rate poll interval (in milliseconds) to use when polling the Azure Blob Storage container. The container will be polled immediately on startup and then precisely at the rate specified. This, |
|
The fixed delay poll interval (in milliseconds) to use when polling the Azure Blob Storage container. The container will be polled immediately on startup and then with the given delay added after each processing has completed. This, |
|
The poll interval (written as a Quartz Cron Trigger) to use when polling the Azure Blob Storage container. The polling will happen at the specified times described by the cron expression. This, |
|
Max blobs to return per container listing command. If more than |
|
The blob name prefix used when processing blobs in the container. Optional. If not set, all blobs in the container will be processed. |
|
The container name to be used for backing up processed blobs. Optional. If not set, the processed blob will not be moved (only deleted). |
|
The timeout of the HTTP client socket connection. Optional. |
|
The socket timeout to wait for the first byte of response from the server. Optional. |
|
Optional, descriptive name for the processor. |
|
Required identifier of the processor, unique across all processors within the flow. Must be between 3 and 30 characters long; contain only lower and uppercase alphabetical characters (a-z and A-Z), numbers, dashes ("-"), and underscores ("_"); and start with an alphabetical character. In other words, it adheres to the regex pattern |
|
Optional set of custom properties in a simple jdk-format, that are added to the message exchange properties before processing the incoming payload. Any existing properties with the same name will be replaced by properties defined here. |
Sub-builders
| Name | Summary |
|---|---|
Strategy for describing the external system integration. Optional. |
|
Strategy for describing how a processor’s message is logged on the server. |
|
Strategy for archiving payloads. |