Azure Functions
Invoke and manage Azure Functions.
What’s inside
-
Azure Functions component, URI syntax:
azure-functions:functionApp/functionName
Please refer to the above links for usage and configuration details.
Maven coordinates
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-azure-functions-starter</artifactId>
</dependency> Spring Boot Auto-Configuration
The starter supports 22 options, which are listed below.
| Name | Description | Default | Type |
|---|---|---|---|
camel.component.azure-functions.app-service-manager | An AppServiceManager instance for management operations. The option is a com.azure.resourcemanager.appservice.AppServiceManager type. | AppServiceManager | |
camel.component.azure-functions.autowired-enabled | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | Boolean |
camel.component.azure-functions.client-id | Azure AD Client ID for service principal authentication | String | |
camel.component.azure-functions.client-secret | Azure AD Client Secret for service principal authentication | String | |
camel.component.azure-functions.configuration | The component configuration. The option is a org.apache.camel.component.azure.functions.FunctionsConfiguration type. | FunctionsConfiguration | |
camel.component.azure-functions.connection-timeout | Connection timeout in milliseconds for HTTP invocation | 30000 | Integer |
camel.component.azure-functions.credential-type | Determines the credential strategy to adopt | azure-identity | CredentialType |
camel.component.azure-functions.enabled | Whether to enable auto configuration of the azure-functions component. This is enabled by default. | Boolean | |
camel.component.azure-functions.function-key | The function key for direct HTTP invocation | String | |
camel.component.azure-functions.host-key | The host key for the function app (used if function key is not provided) | String | |
camel.component.azure-functions.http-method | HTTP method for function invocation (GET, POST, PUT, DELETE, etc.) | POST | String |
camel.component.azure-functions.lazy-start-producer | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | Boolean |
camel.component.azure-functions.location | Azure region for creating function app (e.g., eastus, westeurope) | String | |
camel.component.azure-functions.operation | The operation to be performed | invokefunction | FunctionsOperations |
camel.component.azure-functions.read-timeout | Read timeout in milliseconds for HTTP invocation | 60000 | Integer |
camel.component.azure-functions.resource-group | The resource group name containing the function app (required for management operations) | String | |
camel.component.azure-functions.runtime | Runtime stack (java, node, python, dotnet) | String | |
camel.component.azure-functions.runtime-version | Runtime version | String | |
camel.component.azure-functions.storage-account-connection-string | Storage account connection string for function app | String | |
camel.component.azure-functions.subscription-id | The Azure subscription ID (required for management operations) | String | |
camel.component.azure-functions.tenant-id | Azure AD Tenant ID | String | |
camel.component.azure-functions.token-credential | A TokenCredential instance for Azure AD authentication. The option is a com.azure.core.credential.TokenCredential type. | TokenCredential |