You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2026/07/20 12:12:25 UTC
(camel) branch main updated: CAMEL-23244: camel-azure - remove deprecated component-specific CredentialType enums (#24879)
This is an automated email from the ASF dual-hosted git repository.
oscerd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new cb32ec16cecd CAMEL-23244: camel-azure - remove deprecated component-specific CredentialType enums (#24879)
cb32ec16cecd is described below
commit cb32ec16cecd7e40d19b5d5993d4a5e29855dfba
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jul 20 14:12:18 2026 +0200
CAMEL-23244: camel-azure - remove deprecated component-specific CredentialType enums (#24879)
The component-specific CredentialType enums, deprecated since 4.19.0, are removed in favor of the shared org.apache.camel.component.azure.common.CredentialType from camel-azure-common. Endpoint URIs are unaffected (values keep the same names); Java imports must switch to the shared enum. This also makes the SERVICE_CLIENT_INSTANCE (datalake) and TOKEN_CREDENTIAL (functions) values advertised in the option metadata actually bindable.
Co-authored-by: Claude Fable 5 <no...@anthropic.com>
---
.../camel/catalog/components/azure-cosmosdb.json | 4 +-
.../camel/catalog/components/azure-eventhubs.json | 4 +-
.../camel/catalog/components/azure-files.json | 2 +-
.../camel/catalog/components/azure-functions.json | 4 +-
.../camel/catalog/components/azure-key-vault.json | 2 +-
.../camel/catalog/components/azure-servicebus.json | 4 +-
.../catalog/components/azure-storage-blob.json | 4 +-
.../catalog/components/azure-storage-datalake.json | 4 +-
.../catalog/components/azure-storage-queue.json | 4 +-
.../cosmosdb/CosmosDbComponentConfigurer.java | 4 +-
.../azure/cosmosdb/CosmosDbEndpointConfigurer.java | 4 +-
.../component/azure/cosmosdb/azure-cosmosdb.json | 4 +-
.../azure/cosmosdb/CosmosDbConfiguration.java | 3 +-
.../component/azure/cosmosdb/CredentialType.java | 39 ---------------
.../cosmosdb/client/CosmosDbClientFactory.java | 2 +-
.../azure/cosmosdb/CosmosDbEndpointTest.java | 1 +
.../eventgrid/EventGridComponentConfigurer.java | 4 +-
.../eventgrid/EventGridEndpointConfigurer.java | 4 +-
.../component/azure/eventgrid/azure-eventgrid.json | 4 +-
.../component/azure/eventgrid/CredentialType.java | 43 -----------------
.../azure/eventgrid/EventGridComponent.java | 1 +
.../azure/eventgrid/EventGridConfiguration.java | 1 +
.../azure/eventgrid/EventGridComponentTest.java | 1 +
.../eventhubs/EventHubsComponentConfigurer.java | 4 +-
.../eventhubs/EventHubsEndpointConfigurer.java | 4 +-
.../component/azure/eventhubs/azure-eventhubs.json | 4 +-
.../component/azure/eventhubs/CredentialType.java | 43 -----------------
.../azure/eventhubs/EventHubsComponent.java | 1 +
.../azure/eventhubs/EventHubsConfiguration.java | 1 +
.../eventhubs/client/EventHubsClientFactory.java | 2 +-
.../azure/eventhubs/EventHubsComponentTest.java | 1 +
.../azure/eventhubs/EventProcessorTest.java | 1 +
.../file/azure/FilesEndpointConfigurer.java | 4 +-
.../camel/component/file/azure/azure-files.json | 2 +-
.../camel/component/file/azure/CredentialType.java | 41 ----------------
.../component/file/azure/FilesConfiguration.java | 3 +-
.../component/file/azure/FilesOperations.java | 1 +
.../functions/FunctionsComponentConfigurer.java | 4 +-
.../functions/FunctionsEndpointConfigurer.java | 4 +-
.../component/azure/functions/azure-functions.json | 4 +-
.../component/azure/functions/CredentialType.java | 41 ----------------
.../azure/functions/FunctionsConfiguration.java | 1 +
.../functions/client/FunctionsClientFactory.java | 2 +-
.../key/vault/KeyVaultEndpointConfigurer.java | 4 +-
.../component/azure/key/vault/azure-key-vault.json | 2 +-
.../component/azure/key/vault/CredentialType.java | 39 ---------------
.../azure/key/vault/KeyVaultComponent.java | 1 +
.../azure/key/vault/KeyVaultConfiguration.java | 3 +-
.../azure/key/vault/KeyVaultEndpoint.java | 1 +
.../servicebus/ServiceBusComponentConfigurer.java | 4 +-
.../servicebus/ServiceBusEndpointConfigurer.java | 4 +-
.../azure/servicebus/azure-servicebus.json | 4 +-
.../component/azure/servicebus/CredentialType.java | 43 -----------------
.../azure/servicebus/ServiceBusComponent.java | 1 +
.../azure/servicebus/ServiceBusConfiguration.java | 1 +
.../servicebus/client/ServiceBusClientFactory.java | 2 +-
.../azure/servicebus/ServiceBusEndpointTest.java | 1 +
.../storage/blob/BlobComponentConfigurer.java | 4 +-
.../azure/storage/blob/BlobEndpointConfigurer.java | 4 +-
.../azure/storage/blob/azure-storage-blob.json | 4 +-
.../azure/storage/blob/BlobComponent.java | 3 +-
.../azure/storage/blob/BlobConfiguration.java | 1 +
.../azure/storage/blob/CredentialType.java | 50 -------------------
.../storage/blob/client/BlobClientFactory.java | 2 +-
.../azure/storage/blob/BlobComponentTest.java | 3 +-
.../azure/storage/blob/integration/Base.java | 2 +-
.../datalake/DataLakeComponentConfigurer.java | 4 +-
.../datalake/DataLakeEndpointConfigurer.java | 4 +-
.../storage/datalake/azure-storage-datalake.json | 4 +-
.../azure/storage/datalake/CredentialType.java | 56 ----------------------
.../azure/storage/datalake/DataLakeComponent.java | 1 +
.../storage/datalake/DataLakeConfiguration.java | 1 +
.../datalake/client/DataLakeClientFactory.java | 2 +-
.../datalake/component/DataLakeComponentTest.java | 2 +-
.../storage/queue/QueueComponentConfigurer.java | 4 +-
.../storage/queue/QueueEndpointConfigurer.java | 4 +-
.../azure/storage/queue/azure-storage-queue.json | 4 +-
.../azure/storage/queue/CredentialType.java | 45 -----------------
.../azure/storage/queue/QueueComponent.java | 1 +
.../azure/storage/queue/QueueConfiguration.java | 1 +
.../storage/queue/client/QueueClientFactory.java | 2 +-
.../azure/storage/queue/QueueComponentTest.java | 1 +
.../ROOT/pages/camel-4x-upgrade-guide-4_22.adoc | 20 ++++++++
.../dsl/AzureCosmosdbComponentBuilderFactory.java | 6 +--
.../dsl/AzureEventhubsComponentBuilderFactory.java | 6 +--
.../dsl/AzureFunctionsComponentBuilderFactory.java | 6 +--
.../AzureServicebusComponentBuilderFactory.java | 6 +--
.../AzureStorageBlobComponentBuilderFactory.java | 6 +--
...zureStorageDatalakeComponentBuilderFactory.java | 6 +--
.../AzureStorageQueueComponentBuilderFactory.java | 6 +--
.../endpoint/dsl/BlobEndpointBuilderFactory.java | 24 ++++++----
.../dsl/CosmosDbEndpointBuilderFactory.java | 18 +++----
.../dsl/DataLakeEndpointBuilderFactory.java | 24 ++++++----
.../dsl/EventHubsEndpointBuilderFactory.java | 24 ++++++----
.../endpoint/dsl/FilesEndpointBuilderFactory.java | 18 +++----
.../dsl/FunctionsEndpointBuilderFactory.java | 8 ++--
.../dsl/KeyVaultEndpointBuilderFactory.java | 8 ++--
.../endpoint/dsl/QueueEndpointBuilderFactory.java | 24 ++++++----
.../dsl/ServiceBusEndpointBuilderFactory.java | 24 ++++++----
99 files changed, 254 insertions(+), 614 deletions(-)
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-cosmosdb.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-cosmosdb.json
index a204d4178d21..fb15e5adbe0d 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-cosmosdb.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-cosmosdb.json
@@ -54,7 +54,7 @@
"indexingPolicy": { "index": 27, "kind": "property", "displayName": "Indexing Policy", "group": " advanced", "label": "common, advanced", "required": false, "type": "object", "javaType": "com.azure.cosmos.models.IndexingPolicy", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationField": "configuration", "description": "The CosmosDB Indexing Policy that will be set in case of [...]
"autowiredEnabled": { "index": 28, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "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 [...]
"accountKey": { "index": 29, "kind": "property", "displayName": "Account Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationField": "configuration", "description": "Sets either a master or readonly key used to perform [...]
- "credentialType": { "index": 30, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.cosmosdb.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationF [...]
+ "credentialType": { "index": 30, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationFie [...]
},
"properties": {
"databaseName": { "index": 0, "kind": "path", "displayName": "Database Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationField": "configuration", "description": "The name of the Cosmos database that component should connect to. In case you are producing data and have c [...]
@@ -89,6 +89,6 @@
"lazyStartProducer": { "index": 29, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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 produ [...]
"indexingPolicy": { "index": 30, "kind": "parameter", "displayName": "Indexing Policy", "group": " advanced", "label": "common, advanced", "required": false, "type": "object", "javaType": "com.azure.cosmos.models.IndexingPolicy", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationField": "configuration", "description": "The CosmosDB Indexing Policy that will be set in case of [...]
"accountKey": { "index": 31, "kind": "parameter", "displayName": "Account Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationField": "configuration", "description": "Sets either a master or readonly key used to perfor [...]
- "credentialType": { "index": 32, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.cosmosdb.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configuration [...]
+ "credentialType": { "index": 32, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationFi [...]
}
}
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-eventhubs.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-eventhubs.json
index 1adb790ebf23..bbcccb26f7fc 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-eventhubs.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-eventhubs.json
@@ -45,7 +45,7 @@
"autowiredEnabled": { "index": 18, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "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 [...]
"headerFilterStrategy": { "index": 19, "kind": "property", "displayName": "Header Filter Strategy", "group": "filter", "label": "filter", "required": false, "type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message." },
"connectionString": { "index": 20, "kind": "property", "displayName": "Connection String", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Instead of supplying namespace, sharedAccessKey, sharedAccess [...]
- "credentialType": { "index": 21, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.eventhubs.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfigurat [...]
+ "credentialType": { "index": 21, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration [...]
"sharedAccessKey": { "index": 22, "kind": "property", "displayName": "Shared Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "The generated value for the SharedAccessName." },
"sharedAccessName": { "index": 23, "kind": "property", "displayName": "Shared Access Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "The name you chose for your EventHubs SAS keys." },
"tokenCredential": { "index": 24, "kind": "property", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Provide custom a [...]
@@ -83,7 +83,7 @@
"producerAsyncClient": { "index": 19, "kind": "parameter", "displayName": "Producer Async Client", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "com.azure.messaging.eventhubs.EventHubProducerAsyncClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Sets the Ev [...]
"lazyStartProducer": { "index": 20, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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 produ [...]
"connectionString": { "index": 21, "kind": "parameter", "displayName": "Connection String", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Instead of supplying namespace, sharedAccessKey, sharedAcces [...]
- "credentialType": { "index": 22, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.eventhubs.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfigura [...]
+ "credentialType": { "index": 22, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguratio [...]
"sharedAccessKey": { "index": 23, "kind": "parameter", "displayName": "Shared Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "The generated value for the SharedAccessName." },
"sharedAccessName": { "index": 24, "kind": "parameter", "displayName": "Shared Access Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "The name you chose for your EventHubs SAS keys." },
"tokenCredential": { "index": 25, "kind": "parameter", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Provide custom [...]
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-files.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-files.json
index ff1037a93927..7f199735eace 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-files.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-files.json
@@ -52,7 +52,7 @@
"share": { "index": 1, "kind": "path", "displayName": "Share", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.file.azure.FilesConfiguration", "configurationField": "configuration", "description": "The share to use" },
"port": { "index": 2, "kind": "path", "displayName": "Port", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.file.azure.FilesConfiguration", "configurationField": "configuration", "description": "Port of the FTP server" },
"directoryName": { "index": 3, "kind": "path", "displayName": "Directory Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.file.azure.FilesConfiguration", "configurationField": "configuration", "description": "The starting directory" },
- "credentialType": { "index": 4, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.file.azure.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.file.azure.FilesConfigur [...]
+ "credentialType": { "index": 4, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.file.azure.FilesConfig [...]
"disconnect": { "index": 5, "kind": "parameter", "displayName": "Disconnect", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether or not to disconnect from remote FTP server right after use. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop th [...]
"doneFileName": { "index": 6, "kind": "parameter", "displayName": "Done File Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Producer: If provided, then Camel will write a 2nd done file when the original file has been written. The done file will be empty. This option configures what file name to use. Either you can specify a fixed name. Or you can use [...]
"fileName": { "index": 7, "kind": "parameter", "displayName": "File Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Use Expression such as File Language to dynamically set the filename. For consumers, it's used as a filename filter. For producers, it's used to evaluate the filename to write. If an expression is set, it take precedence over the CamelFil [...]
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-functions.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-functions.json
index c91aeb7c8d57..d9a5ba858b85 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-functions.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-functions.json
@@ -38,7 +38,7 @@
"autowiredEnabled": { "index": 11, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "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 [...]
"clientId": { "index": 12, "kind": "property", "displayName": "Client Id", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "Azure AD Client ID for service principal authentication" },
"clientSecret": { "index": 13, "kind": "property", "displayName": "Client Secret", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "Azure AD Client Secret for service principal authentication" },
- "credentialType": { "index": 14, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.functions.CredentialType", "enum": [ "AZURE_IDENTITY", "FUNCTION_KEY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "c [...]
+ "credentialType": { "index": 14, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "FUNCTION_KEY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "conf [...]
"functionKey": { "index": 15, "kind": "property", "displayName": "Function Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The function key for direct HTTP invocation" },
"hostKey": { "index": 16, "kind": "property", "displayName": "Host Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The host key for the function app (used if function key is not provided)" },
"resourceGroup": { "index": 17, "kind": "property", "displayName": "Resource Group", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The resource group name containing the function app (required for management operations)" },
@@ -81,7 +81,7 @@
"appServiceManager": { "index": 11, "kind": "parameter", "displayName": "App Service Manager", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "com.azure.resourcemanager.appservice.AppServiceManager", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "An AppServiceManag [...]
"clientId": { "index": 12, "kind": "parameter", "displayName": "Client Id", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "Azure AD Client ID for service principal authentication" },
"clientSecret": { "index": 13, "kind": "parameter", "displayName": "Client Secret", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "Azure AD Client Secret for service principal authentication" },
- "credentialType": { "index": 14, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.functions.CredentialType", "enum": [ "AZURE_IDENTITY", "FUNCTION_KEY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", " [...]
+ "credentialType": { "index": 14, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "FUNCTION_KEY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "con [...]
"functionKey": { "index": 15, "kind": "parameter", "displayName": "Function Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The function key for direct HTTP invocation" },
"hostKey": { "index": 16, "kind": "parameter", "displayName": "Host Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The host key for the function app (used if function key is not provided)" },
"resourceGroup": { "index": 17, "kind": "parameter", "displayName": "Resource Group", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The resource group name containing the function app (required for management operations)" },
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-key-vault.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-key-vault.json
index 1f2126f996fe..089bd670154f 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-key-vault.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-key-vault.json
@@ -35,7 +35,7 @@
},
"properties": {
"vaultName": { "index": 0, "kind": "path", "displayName": "Vault Name", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.key.vault.KeyVaultConfiguration", "configurationField": "configuration", "description": "Vault Name to be used" },
- "credentialType": { "index": 1, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.key.vault.CredentialType", "enum": [ "CLIENT_SECRET", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.component.azure.key.vault.KeyVaultConfiguration", "configurationField": "conf [...]
+ "credentialType": { "index": 1, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "CLIENT_SECRET", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.component.azure.key.vault.KeyVaultConfiguration", "configurationField": "configu [...]
"operation": { "index": 2, "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "producer", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.key.vault.KeyVaultOperation", "enum": [ "createSecret", "getSecret", "updateSecretProperties", "deleteSecret", "purgeDeletedSecret" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.key.vault.KeyVaultConfiguration", "confi [...]
"secretClient": { "index": 3, "kind": "parameter", "displayName": "Secret Client", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.azure.security.keyvault.secrets.SecretClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.key.vault.KeyVaultConfiguration", "configurationField": "configuration", "description": "Instance of Secret client" },
"lazyStartProducer": { "index": 4, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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 produc [...]
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json
index 117976bbd7e0..5e917dba117f 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json
@@ -50,7 +50,7 @@
"sessionId": { "index": 23, "kind": "property", "displayName": "Session Id", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Session ID for session-enabled queues or topics." },
"autowiredEnabled": { "index": 24, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "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 [...]
"connectionString": { "index": 25, "kind": "property", "displayName": "Connection String", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Sets the connection string for a Service Bus namespace or a [...]
- "credentialType": { "index": 26, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.servicebus.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfigu [...]
+ "credentialType": { "index": 26, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfigurati [...]
"fullyQualifiedNamespace": { "index": 27, "kind": "property", "displayName": "Fully Qualified Namespace", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Fully Qualified Namespace of the service bus" },
"tokenCredential": { "index": 28, "kind": "property", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "A TokenCredent [...]
},
@@ -109,7 +109,7 @@
"sessionId": { "index": 24, "kind": "parameter", "displayName": "Session Id", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Session ID for session-enabled queues or topics." },
"lazyStartProducer": { "index": 25, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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 produ [...]
"connectionString": { "index": 26, "kind": "parameter", "displayName": "Connection String", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Sets the connection string for a Service Bus namespace or [...]
- "credentialType": { "index": 27, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.servicebus.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfig [...]
+ "credentialType": { "index": 27, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfigurat [...]
"fullyQualifiedNamespace": { "index": 28, "kind": "parameter", "displayName": "Fully Qualified Namespace", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Fully Qualified Namespace of the service bus" },
"tokenCredential": { "index": 29, "kind": "parameter", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "A TokenCreden [...]
}
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-blob.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-blob.json
index 6eb288cfb7ea..318babfc431a 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-blob.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-blob.json
@@ -30,7 +30,7 @@
"closeStreamAfterRead": { "index": 3, "kind": "property", "displayName": "Close Stream After Read", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "Close the stream after read or keep it open, default is true" },
"configuration": { "index": 4, "kind": "property", "displayName": "Configuration", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "The component configurations" },
"credentials": { "index": 5, "kind": "property", "displayName": "Credentials", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.azure.storage.common.StorageSharedKeyCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "StorageSharedKeyCredential can be injected to cre [...]
- "credentialType": { "index": 6, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.blob.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.storage.blob.Bl [...]
+ "credentialType": { "index": 6, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConf [...]
"dataCount": { "index": 7, "kind": "property", "displayName": "Data Count", "group": "common", "label": "common", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "How many bytes to include in the range. Must be greater than or equal to 0 if specified." },
"fileDir": { "index": 8, "kind": "property", "displayName": "File Dir", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "The file directory where the downloaded blobs will be saved to, this can be used in both, producer and cons [...]
"leaseBlob": { "index": 9, "kind": "property", "displayName": "Lease Blob", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "Sets whether a lease should be acquired when accessing the blob. When set to true, the c [...]
@@ -166,7 +166,7 @@
"blobType": { "index": 5, "kind": "parameter", "displayName": "Blob Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.blob.BlobType", "enum": [ "blockblob", "appendblob", "pageblob" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "blockblob", "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "des [...]
"closeStreamAfterRead": { "index": 6, "kind": "parameter", "displayName": "Close Stream After Read", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "Close the stream after read or keep it open, default is true" },
"credentials": { "index": 7, "kind": "parameter", "displayName": "Credentials", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.azure.storage.common.StorageSharedKeyCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "StorageSharedKeyCredential can be injected to cr [...]
- "credentialType": { "index": 8, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.blob.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.storage.blob.B [...]
+ "credentialType": { "index": 8, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobCon [...]
"dataCount": { "index": 9, "kind": "parameter", "displayName": "Data Count", "group": "common", "label": "common", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "How many bytes to include in the range. Must be greater than or equal to 0 if specified." },
"fileDir": { "index": 10, "kind": "parameter", "displayName": "File Dir", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "The file directory where the downloaded blobs will be saved to, this can be used in both, producer and co [...]
"leaseBlob": { "index": 11, "kind": "parameter", "displayName": "Lease Blob", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "Sets whether a lease should be acquired when accessing the blob. When set to true, the [...]
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-datalake.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-datalake.json
index 78ee71eb1d66..1d7e295cc8b7 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-datalake.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-datalake.json
@@ -28,7 +28,7 @@
"close": { "index": 1, "kind": "property", "displayName": "Close", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "Whether or not a file changed event raised indicates completion (true) or modificatio [...]
"closeStreamAfterRead": { "index": 2, "kind": "property", "displayName": "Close Stream After Read", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "check for closing stream after read" },
"configuration": { "index": 3, "kind": "property", "displayName": "Configuration", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "configuration object for data lake" },
- "credentialType": { "index": 4, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.datalake.CredentialType", "enum": [ "CLIENT_SECRET", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS", "SERVICE_CLIENT_INSTANCE" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.compon [...]
+ "credentialType": { "index": 4, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "CLIENT_SECRET", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS", "SERVICE_CLIENT_INSTANCE" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.component.azure. [...]
"dataCount": { "index": 5, "kind": "property", "displayName": "Data Count", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "count number of bytes to download" },
"directoryName": { "index": 6, "kind": "property", "displayName": "Directory Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "directory of the file to be handled in component" },
"downloadLinkExpiration": { "index": 7, "kind": "property", "displayName": "Download Link Expiration", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "download link expiration time" },
@@ -134,7 +134,7 @@
"clientId": { "index": 2, "kind": "parameter", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "client id for azure account" },
"close": { "index": 3, "kind": "parameter", "displayName": "Close", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "Whether or not a file changed event raised indicates completion (true) or modificati [...]
"closeStreamAfterRead": { "index": 4, "kind": "parameter", "displayName": "Close Stream After Read", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "check for closing stream after read" },
- "credentialType": { "index": 5, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.datalake.CredentialType", "enum": [ "CLIENT_SECRET", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS", "SERVICE_CLIENT_INSTANCE" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.compo [...]
+ "credentialType": { "index": 5, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "CLIENT_SECRET", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS", "SERVICE_CLIENT_INSTANCE" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.component.azure [...]
"dataCount": { "index": 6, "kind": "parameter", "displayName": "Data Count", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "count number of bytes to download" },
"dataLakeServiceClient": { "index": 7, "kind": "parameter", "displayName": "Data Lake Service Client", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.azure.storage.file.datalake.DataLakeServiceClient", "deprecated": false, "autowired": false, "secret": false, "description": "service client of data lake" },
"directoryName": { "index": 8, "kind": "parameter", "displayName": "Directory Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "directory of the file to be handled in component" },
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-queue.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-queue.json
index b7c283071d00..dade4ad0e742 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-queue.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-storage-queue.json
@@ -25,7 +25,7 @@
},
"componentProperties": {
"configuration": { "index": 0, "kind": "property", "displayName": "Configuration", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "The component configurations" },
- "credentialType": { "index": 1, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.queue.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConf [...]
+ "credentialType": { "index": 1, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfigurati [...]
"serviceClient": { "index": 2, "kind": "property", "displayName": "Service Client", "group": "common", "label": "common", "required": false, "type": "object", "javaType": "com.azure.storage.queue.QueueServiceClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "configurationField": "configuration", "description": "Service client to a storage account to intera [...]
"bridgeErrorHandler": { "index": 3, "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the like [...]
"createQueue": { "index": 4, "kind": "property", "displayName": "Create Queue", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "configurationField": "configuration", "description": "When is set to true, the queue will be automatically created when sending mess [...]
@@ -64,7 +64,7 @@
"properties": {
"accountName": { "index": 0, "kind": "path", "displayName": "Account Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "configurationField": "configuration", "description": "Azure account name to be used for authentication with azure queue services" },
"queueName": { "index": 1, "kind": "path", "displayName": "Queue Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "configurationField": "configuration", "description": "The queue resource name" },
- "credentialType": { "index": 2, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.queue.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueCon [...]
+ "credentialType": { "index": 2, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfigurat [...]
"serviceClient": { "index": 3, "kind": "parameter", "displayName": "Service Client", "group": "common", "label": "common", "required": false, "type": "object", "javaType": "com.azure.storage.queue.QueueServiceClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "configurationField": "configuration", "description": "Service client to a storage account to inter [...]
"sendEmptyMessageWhenIdle": { "index": 4, "kind": "parameter", "displayName": "Send Empty Message When Idle", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead." },
"bridgeErrorHandler": { "index": 5, "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming [...]
diff --git a/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbComponentConfigurer.java b/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbComponentConfigurer.java
index 018f58b883c1..5d93e4410f36 100644
--- a/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbComponentConfigurer.java
+++ b/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbComponentConfigurer.java
@@ -60,7 +60,7 @@ public class CosmosDbComponentConfigurer extends PropertyConfigurerSupport imple
case "createleasedatabaseifnotexists":
case "createLeaseDatabaseIfNotExists": getOrCreateConfiguration(target).setCreateLeaseDatabaseIfNotExists(property(camelContext, boolean.class, value)); return true;
case "credentialtype":
- case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.cosmosdb.CredentialType.class, value)); return true;
+ case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "databaseendpoint":
case "databaseEndpoint": getOrCreateConfiguration(target).setDatabaseEndpoint(property(camelContext, java.lang.String.class, value)); return true;
case "hostname":
@@ -131,7 +131,7 @@ public class CosmosDbComponentConfigurer extends PropertyConfigurerSupport imple
case "createleasedatabaseifnotexists":
case "createLeaseDatabaseIfNotExists": return boolean.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.cosmosdb.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "databaseendpoint":
case "databaseEndpoint": return java.lang.String.class;
case "hostname":
diff --git a/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointConfigurer.java b/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointConfigurer.java
index 45df0f38be77..d6af54a23467 100644
--- a/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointConfigurer.java
+++ b/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointConfigurer.java
@@ -50,7 +50,7 @@ public class CosmosDbEndpointConfigurer extends PropertyConfigurerSupport implem
case "createleasedatabaseifnotexists":
case "createLeaseDatabaseIfNotExists": target.getConfiguration().setCreateLeaseDatabaseIfNotExists(property(camelContext, boolean.class, value)); return true;
case "credentialtype":
- case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.cosmosdb.CredentialType.class, value)); return true;
+ case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "databaseendpoint":
case "databaseEndpoint": target.getConfiguration().setDatabaseEndpoint(property(camelContext, java.lang.String.class, value)); return true;
case "exceptionhandler":
@@ -122,7 +122,7 @@ public class CosmosDbEndpointConfigurer extends PropertyConfigurerSupport implem
case "createleasedatabaseifnotexists":
case "createLeaseDatabaseIfNotExists": return boolean.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.cosmosdb.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "databaseendpoint":
case "databaseEndpoint": return java.lang.String.class;
case "exceptionhandler":
diff --git a/components/camel-azure/camel-azure-cosmosdb/src/generated/resources/META-INF/org/apache/camel/component/azure/cosmosdb/azure-cosmosdb.json b/components/camel-azure/camel-azure-cosmosdb/src/generated/resources/META-INF/org/apache/camel/component/azure/cosmosdb/azure-cosmosdb.json
index a204d4178d21..fb15e5adbe0d 100644
--- a/components/camel-azure/camel-azure-cosmosdb/src/generated/resources/META-INF/org/apache/camel/component/azure/cosmosdb/azure-cosmosdb.json
+++ b/components/camel-azure/camel-azure-cosmosdb/src/generated/resources/META-INF/org/apache/camel/component/azure/cosmosdb/azure-cosmosdb.json
@@ -54,7 +54,7 @@
"indexingPolicy": { "index": 27, "kind": "property", "displayName": "Indexing Policy", "group": " advanced", "label": "common, advanced", "required": false, "type": "object", "javaType": "com.azure.cosmos.models.IndexingPolicy", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationField": "configuration", "description": "The CosmosDB Indexing Policy that will be set in case of [...]
"autowiredEnabled": { "index": 28, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "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 [...]
"accountKey": { "index": 29, "kind": "property", "displayName": "Account Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationField": "configuration", "description": "Sets either a master or readonly key used to perform [...]
- "credentialType": { "index": 30, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.cosmosdb.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationF [...]
+ "credentialType": { "index": 30, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationFie [...]
},
"properties": {
"databaseName": { "index": 0, "kind": "path", "displayName": "Database Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationField": "configuration", "description": "The name of the Cosmos database that component should connect to. In case you are producing data and have c [...]
@@ -89,6 +89,6 @@
"lazyStartProducer": { "index": 29, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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 produ [...]
"indexingPolicy": { "index": 30, "kind": "parameter", "displayName": "Indexing Policy", "group": " advanced", "label": "common, advanced", "required": false, "type": "object", "javaType": "com.azure.cosmos.models.IndexingPolicy", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationField": "configuration", "description": "The CosmosDB Indexing Policy that will be set in case of [...]
"accountKey": { "index": 31, "kind": "parameter", "displayName": "Account Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationField": "configuration", "description": "Sets either a master or readonly key used to perfor [...]
- "credentialType": { "index": 32, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.cosmosdb.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configuration [...]
+ "credentialType": { "index": 32, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", "configurationFi [...]
}
}
diff --git a/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CosmosDbConfiguration.java b/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CosmosDbConfiguration.java
index 2d02bdaf24ac..43fcb39f5e97 100644
--- a/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CosmosDbConfiguration.java
+++ b/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CosmosDbConfiguration.java
@@ -23,12 +23,13 @@ import com.azure.cosmos.models.CosmosQueryRequestOptions;
import com.azure.cosmos.models.IndexingPolicy;
import com.azure.cosmos.models.ThroughputProperties;
import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
import org.apache.camel.spi.UriPath;
-import static org.apache.camel.component.azure.cosmosdb.CredentialType.SHARED_ACCOUNT_KEY;
+import static org.apache.camel.component.azure.common.CredentialType.SHARED_ACCOUNT_KEY;
@UriParams
public class CosmosDbConfiguration implements Cloneable {
diff --git a/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CredentialType.java b/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CredentialType.java
deleted file mode 100644
index d00266a456e4..000000000000
--- a/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CredentialType.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.azure.cosmosdb;
-
-/**
- * @deprecated Use {@link org.apache.camel.component.azure.common.CredentialType} instead.
- */
-@Deprecated(since = "4.19.0")
-public enum CredentialType {
- /**
- * storage shared account key
- */
- SHARED_ACCOUNT_KEY,
- /**
- * Includes:
- * <uL>
- * <li>Service principal with secret</li>
- * <li>Service principal with certificate</li>
- * <li>username and password</li>
- * </uL>
- *
- * @see com.azure.identity.DefaultAzureCredentialBuilder
- */
- AZURE_IDENTITY
-}
diff --git a/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/client/CosmosDbClientFactory.java b/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/client/CosmosDbClientFactory.java
index 195af0f03247..20d12cf12a36 100644
--- a/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/client/CosmosDbClientFactory.java
+++ b/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/client/CosmosDbClientFactory.java
@@ -22,8 +22,8 @@ import com.azure.cosmos.CosmosAsyncClient;
import com.azure.cosmos.CosmosClient;
import com.azure.cosmos.CosmosClientBuilder;
import com.azure.identity.DefaultAzureCredentialBuilder;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration;
-import org.apache.camel.component.azure.cosmosdb.CredentialType;
import org.apache.camel.util.ObjectHelper;
public final class CosmosDbClientFactory {
diff --git a/components/camel-azure/camel-azure-cosmosdb/src/test/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointTest.java b/components/camel-azure/camel-azure-cosmosdb/src/test/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointTest.java
index 0f2675fd0177..c8c7027ba68f 100644
--- a/components/camel-azure/camel-azure-cosmosdb/src/test/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointTest.java
+++ b/components/camel-azure/camel-azure-cosmosdb/src/test/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointTest.java
@@ -22,6 +22,7 @@ import java.util.Map;
import com.azure.cosmos.models.IndexingMode;
import com.azure.cosmos.models.IndexingPolicy;
import org.apache.camel.ResolveEndpointFailedException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.test.junit6.CamelTestSupport;
import org.junit.jupiter.api.Test;
diff --git a/components/camel-azure/camel-azure-eventgrid/src/generated/java/org/apache/camel/component/azure/eventgrid/EventGridComponentConfigurer.java b/components/camel-azure/camel-azure-eventgrid/src/generated/java/org/apache/camel/component/azure/eventgrid/EventGridComponentConfigurer.java
index a3b9b81df4b6..ac15ca2254e1 100644
--- a/components/camel-azure/camel-azure-eventgrid/src/generated/java/org/apache/camel/component/azure/eventgrid/EventGridComponentConfigurer.java
+++ b/components/camel-azure/camel-azure-eventgrid/src/generated/java/org/apache/camel/component/azure/eventgrid/EventGridComponentConfigurer.java
@@ -38,7 +38,7 @@ public class EventGridComponentConfigurer extends PropertyConfigurerSupport impl
case "azureKeyCredential": getOrCreateConfiguration(target).setAzureKeyCredential(property(camelContext, com.azure.core.credential.AzureKeyCredential.class, value)); return true;
case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.azure.eventgrid.EventGridConfiguration.class, value)); return true;
case "credentialtype":
- case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.eventgrid.CredentialType.class, value)); return true;
+ case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "lazystartproducer":
case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
case "publisherclient":
@@ -65,7 +65,7 @@ public class EventGridComponentConfigurer extends PropertyConfigurerSupport impl
case "azureKeyCredential": return com.azure.core.credential.AzureKeyCredential.class;
case "configuration": return org.apache.camel.component.azure.eventgrid.EventGridConfiguration.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.eventgrid.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "lazystartproducer":
case "lazyStartProducer": return boolean.class;
case "publisherclient":
diff --git a/components/camel-azure/camel-azure-eventgrid/src/generated/java/org/apache/camel/component/azure/eventgrid/EventGridEndpointConfigurer.java b/components/camel-azure/camel-azure-eventgrid/src/generated/java/org/apache/camel/component/azure/eventgrid/EventGridEndpointConfigurer.java
index 70d7eedd5207..ead2a2ac90eb 100644
--- a/components/camel-azure/camel-azure-eventgrid/src/generated/java/org/apache/camel/component/azure/eventgrid/EventGridEndpointConfigurer.java
+++ b/components/camel-azure/camel-azure-eventgrid/src/generated/java/org/apache/camel/component/azure/eventgrid/EventGridEndpointConfigurer.java
@@ -28,7 +28,7 @@ public class EventGridEndpointConfigurer extends PropertyConfigurerSupport imple
case "azurekeycredential":
case "azureKeyCredential": target.getConfiguration().setAzureKeyCredential(property(camelContext, com.azure.core.credential.AzureKeyCredential.class, value)); return true;
case "credentialtype":
- case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.eventgrid.CredentialType.class, value)); return true;
+ case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "lazystartproducer":
case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
case "publisherclient":
@@ -52,7 +52,7 @@ public class EventGridEndpointConfigurer extends PropertyConfigurerSupport imple
case "azurekeycredential":
case "azureKeyCredential": return com.azure.core.credential.AzureKeyCredential.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.eventgrid.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "lazystartproducer":
case "lazyStartProducer": return boolean.class;
case "publisherclient":
diff --git a/components/camel-azure/camel-azure-eventgrid/src/generated/resources/META-INF/org/apache/camel/component/azure/eventgrid/azure-eventgrid.json b/components/camel-azure/camel-azure-eventgrid/src/generated/resources/META-INF/org/apache/camel/component/azure/eventgrid/azure-eventgrid.json
index bf546e83d906..8a42d9b0fe20 100644
--- a/components/camel-azure/camel-azure-eventgrid/src/generated/resources/META-INF/org/apache/camel/component/azure/eventgrid/azure-eventgrid.json
+++ b/components/camel-azure/camel-azure-eventgrid/src/generated/resources/META-INF/org/apache/camel/component/azure/eventgrid/azure-eventgrid.json
@@ -30,7 +30,7 @@
"autowiredEnabled": { "index": 3, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "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 t [...]
"accessKey": { "index": 4, "kind": "property", "displayName": "Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventgrid.EventGridConfiguration", "configurationField": "configuration", "description": "The access key for the Event Grid topic. Required when using ACCESS_KEY cred [...]
"azureKeyCredential": { "index": 5, "kind": "property", "displayName": "Azure Key Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.AzureKeyCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventgrid.EventGridConfiguration", "configurationField": "configuration", "description": "The Azu [...]
- "credentialType": { "index": 6, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.eventgrid.CredentialType", "enum": [ "ACCESS_KEY", "AZURE_IDENTITY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ACCESS_KEY", "configurationClass": "org.apache.camel.component.azure.eventgrid.EventGridConfiguration", "configur [...]
+ "credentialType": { "index": 6, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "ACCESS_KEY", "AZURE_IDENTITY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ACCESS_KEY", "configurationClass": "org.apache.camel.component.azure.eventgrid.EventGridConfiguration", "configurati [...]
"tokenCredential": { "index": 7, "kind": "property", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventgrid.EventGridConfiguration", "configurationField": "configuration", "description": "Provide custom au [...]
},
"headers": {
@@ -46,7 +46,7 @@
"lazyStartProducer": { "index": 2, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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 produc [...]
"accessKey": { "index": 3, "kind": "parameter", "displayName": "Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventgrid.EventGridConfiguration", "configurationField": "configuration", "description": "The access key for the Event Grid topic. Required when using ACCESS_KEY cre [...]
"azureKeyCredential": { "index": 4, "kind": "parameter", "displayName": "Azure Key Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.AzureKeyCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventgrid.EventGridConfiguration", "configurationField": "configuration", "description": "The Az [...]
- "credentialType": { "index": 5, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.eventgrid.CredentialType", "enum": [ "ACCESS_KEY", "AZURE_IDENTITY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ACCESS_KEY", "configurationClass": "org.apache.camel.component.azure.eventgrid.EventGridConfiguration", "configu [...]
+ "credentialType": { "index": 5, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "ACCESS_KEY", "AZURE_IDENTITY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ACCESS_KEY", "configurationClass": "org.apache.camel.component.azure.eventgrid.EventGridConfiguration", "configurat [...]
"tokenCredential": { "index": 6, "kind": "parameter", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventgrid.EventGridConfiguration", "configurationField": "configuration", "description": "Provide custom a [...]
}
}
diff --git a/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/CredentialType.java b/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/CredentialType.java
deleted file mode 100644
index e756a23a5aaa..000000000000
--- a/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/CredentialType.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.azure.eventgrid;
-
-/**
- * @deprecated Use {@link org.apache.camel.component.azure.common.CredentialType} instead.
- */
-@Deprecated(since = "4.19.0")
-public enum CredentialType {
- /**
- * EventGrid Access Key
- */
- ACCESS_KEY,
- /**
- * Includes:
- * <uL>
- * <li>Service principal with secret</li>
- * <li>Service principal with certificate</li>
- * <li>username and password</li>
- * </uL>
- *
- * @see com.azure.identity.DefaultAzureCredentialBuilder
- */
- AZURE_IDENTITY,
- /**
- * EventGrid Token Credential
- */
- TOKEN_CREDENTIAL,
-}
diff --git a/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/EventGridComponent.java b/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/EventGridComponent.java
index 4c9ffee79df1..26b9d5fd1a17 100644
--- a/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/EventGridComponent.java
+++ b/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/EventGridComponent.java
@@ -20,6 +20,7 @@ import java.util.Map;
import com.azure.identity.DefaultAzureCredential;
import org.apache.camel.Endpoint;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.annotations.Component;
import org.apache.camel.support.DefaultComponent;
diff --git a/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/EventGridConfiguration.java b/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/EventGridConfiguration.java
index 680961eaf88f..946e2e1d17a3 100644
--- a/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/EventGridConfiguration.java
+++ b/components/camel-azure/camel-azure-eventgrid/src/main/java/org/apache/camel/component/azure/eventgrid/EventGridConfiguration.java
@@ -21,6 +21,7 @@ import com.azure.core.credential.TokenCredential;
import com.azure.core.models.CloudEvent;
import com.azure.messaging.eventgrid.EventGridPublisherClient;
import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
diff --git a/components/camel-azure/camel-azure-eventgrid/src/test/java/org/apache/camel/component/azure/eventgrid/EventGridComponentTest.java b/components/camel-azure/camel-azure-eventgrid/src/test/java/org/apache/camel/component/azure/eventgrid/EventGridComponentTest.java
index c5f0dfb22444..985b5e0085a3 100644
--- a/components/camel-azure/camel-azure-eventgrid/src/test/java/org/apache/camel/component/azure/eventgrid/EventGridComponentTest.java
+++ b/components/camel-azure/camel-azure-eventgrid/src/test/java/org/apache/camel/component/azure/eventgrid/EventGridComponentTest.java
@@ -19,6 +19,7 @@ package org.apache.camel.component.azure.eventgrid;
import com.azure.identity.DefaultAzureCredential;
import com.azure.identity.DefaultAzureCredentialBuilder;
import org.apache.camel.ResolveEndpointFailedException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.test.junit6.CamelTestSupport;
import org.junit.jupiter.api.Test;
diff --git a/components/camel-azure/camel-azure-eventhubs/src/generated/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentConfigurer.java b/components/camel-azure/camel-azure-eventhubs/src/generated/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentConfigurer.java
index 809c16d4fac4..53bf89e81d61 100644
--- a/components/camel-azure/camel-azure-eventhubs/src/generated/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentConfigurer.java
+++ b/components/camel-azure/camel-azure-eventhubs/src/generated/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentConfigurer.java
@@ -58,7 +58,7 @@ public class EventHubsComponentConfigurer extends PropertyConfigurerSupport impl
case "consumergroupname":
case "consumerGroupName": getOrCreateConfiguration(target).setConsumerGroupName(property(camelContext, java.lang.String.class, value)); return true;
case "credentialtype":
- case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.eventhubs.CredentialType.class, value)); return true;
+ case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "eventposition":
case "eventPosition": getOrCreateConfiguration(target).setEventPosition(property(camelContext, java.util.Map.class, value)); return true;
case "headerfilterstrategy":
@@ -119,7 +119,7 @@ public class EventHubsComponentConfigurer extends PropertyConfigurerSupport impl
case "consumergroupname":
case "consumerGroupName": return java.lang.String.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.eventhubs.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "eventposition":
case "eventPosition": return java.util.Map.class;
case "headerfilterstrategy":
diff --git a/components/camel-azure/camel-azure-eventhubs/src/generated/java/org/apache/camel/component/azure/eventhubs/EventHubsEndpointConfigurer.java b/components/camel-azure/camel-azure-eventhubs/src/generated/java/org/apache/camel/component/azure/eventhubs/EventHubsEndpointConfigurer.java
index bfa550eda55b..d79e886fb9e4 100644
--- a/components/camel-azure/camel-azure-eventhubs/src/generated/java/org/apache/camel/component/azure/eventhubs/EventHubsEndpointConfigurer.java
+++ b/components/camel-azure/camel-azure-eventhubs/src/generated/java/org/apache/camel/component/azure/eventhubs/EventHubsEndpointConfigurer.java
@@ -48,7 +48,7 @@ public class EventHubsEndpointConfigurer extends PropertyConfigurerSupport imple
case "consumergroupname":
case "consumerGroupName": target.getConfiguration().setConsumerGroupName(property(camelContext, java.lang.String.class, value)); return true;
case "credentialtype":
- case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.eventhubs.CredentialType.class, value)); return true;
+ case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "eventposition":
case "eventPosition": target.getConfiguration().setEventPosition(property(camelContext, java.util.Map.class, value)); return true;
case "exceptionhandler":
@@ -108,7 +108,7 @@ public class EventHubsEndpointConfigurer extends PropertyConfigurerSupport imple
case "consumergroupname":
case "consumerGroupName": return java.lang.String.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.eventhubs.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "eventposition":
case "eventPosition": return java.util.Map.class;
case "exceptionhandler":
diff --git a/components/camel-azure/camel-azure-eventhubs/src/generated/resources/META-INF/org/apache/camel/component/azure/eventhubs/azure-eventhubs.json b/components/camel-azure/camel-azure-eventhubs/src/generated/resources/META-INF/org/apache/camel/component/azure/eventhubs/azure-eventhubs.json
index 1adb790ebf23..bbcccb26f7fc 100644
--- a/components/camel-azure/camel-azure-eventhubs/src/generated/resources/META-INF/org/apache/camel/component/azure/eventhubs/azure-eventhubs.json
+++ b/components/camel-azure/camel-azure-eventhubs/src/generated/resources/META-INF/org/apache/camel/component/azure/eventhubs/azure-eventhubs.json
@@ -45,7 +45,7 @@
"autowiredEnabled": { "index": 18, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "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 [...]
"headerFilterStrategy": { "index": 19, "kind": "property", "displayName": "Header Filter Strategy", "group": "filter", "label": "filter", "required": false, "type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message." },
"connectionString": { "index": 20, "kind": "property", "displayName": "Connection String", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Instead of supplying namespace, sharedAccessKey, sharedAccess [...]
- "credentialType": { "index": 21, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.eventhubs.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfigurat [...]
+ "credentialType": { "index": 21, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration [...]
"sharedAccessKey": { "index": 22, "kind": "property", "displayName": "Shared Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "The generated value for the SharedAccessName." },
"sharedAccessName": { "index": 23, "kind": "property", "displayName": "Shared Access Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "The name you chose for your EventHubs SAS keys." },
"tokenCredential": { "index": 24, "kind": "property", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Provide custom a [...]
@@ -83,7 +83,7 @@
"producerAsyncClient": { "index": 19, "kind": "parameter", "displayName": "Producer Async Client", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "com.azure.messaging.eventhubs.EventHubProducerAsyncClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Sets the Ev [...]
"lazyStartProducer": { "index": 20, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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 produ [...]
"connectionString": { "index": 21, "kind": "parameter", "displayName": "Connection String", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Instead of supplying namespace, sharedAccessKey, sharedAcces [...]
- "credentialType": { "index": 22, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.eventhubs.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfigura [...]
+ "credentialType": { "index": 22, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguratio [...]
"sharedAccessKey": { "index": 23, "kind": "parameter", "displayName": "Shared Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "The generated value for the SharedAccessName." },
"sharedAccessName": { "index": 24, "kind": "parameter", "displayName": "Shared Access Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "The name you chose for your EventHubs SAS keys." },
"tokenCredential": { "index": 25, "kind": "parameter", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Provide custom [...]
diff --git a/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/CredentialType.java b/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/CredentialType.java
deleted file mode 100644
index 9631881ee86b..000000000000
--- a/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/CredentialType.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.azure.eventhubs;
-
-/**
- * @deprecated Use {@link org.apache.camel.component.azure.common.CredentialType} instead.
- */
-@Deprecated(since = "4.19.0")
-public enum CredentialType {
- /**
- * Eventhubs Connection String
- */
- CONNECTION_STRING,
- /**
- * Includes:
- * <uL>
- * <li>Service principal with secret</li>
- * <li>Service principal with certificate</li>
- * <li>username and password</li>
- * </uL>
- *
- * @see com.azure.identity.DefaultAzureCredentialBuilder
- */
- AZURE_IDENTITY,
- /**
- * Eventhubs Token Credential
- */
- TOKEN_CREDENTIAL,
-}
diff --git a/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/EventHubsComponent.java b/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/EventHubsComponent.java
index 8a5040a060b8..2a20bccd7f47 100644
--- a/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/EventHubsComponent.java
+++ b/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/EventHubsComponent.java
@@ -20,6 +20,7 @@ import java.util.Map;
import com.azure.identity.DefaultAzureCredential;
import org.apache.camel.Endpoint;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.annotations.Component;
import org.apache.camel.support.HeaderFilterStrategyComponent;
diff --git a/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/EventHubsConfiguration.java b/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/EventHubsConfiguration.java
index 0bc052d4c004..62a35d360487 100644
--- a/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/EventHubsConfiguration.java
+++ b/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/EventHubsConfiguration.java
@@ -29,6 +29,7 @@ import com.azure.messaging.eventhubs.EventProcessorClient;
import com.azure.messaging.eventhubs.models.EventPosition;
import com.azure.storage.common.StorageSharedKeyCredential;
import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
diff --git a/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/client/EventHubsClientFactory.java b/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/client/EventHubsClientFactory.java
index f88717894add..5fd52a62650b 100644
--- a/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/client/EventHubsClientFactory.java
+++ b/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/client/EventHubsClientFactory.java
@@ -32,7 +32,7 @@ import com.azure.messaging.eventhubs.models.EventContext;
import com.azure.storage.blob.BlobContainerAsyncClient;
import com.azure.storage.blob.BlobContainerClientBuilder;
import com.azure.storage.common.StorageSharedKeyCredential;
-import org.apache.camel.component.azure.eventhubs.CredentialType;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.eventhubs.EventHubsConfiguration;
import org.apache.camel.util.ObjectHelper;
diff --git a/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentTest.java b/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentTest.java
index 48924bf287f8..ccb4ff2200c6 100644
--- a/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentTest.java
+++ b/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentTest.java
@@ -21,6 +21,7 @@ import com.azure.identity.DefaultAzureCredentialBuilder;
import com.azure.messaging.eventhubs.EventHubConsumerAsyncClient;
import com.azure.messaging.eventhubs.EventHubProducerAsyncClient;
import org.apache.camel.ResolveEndpointFailedException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.eventhubs.client.EventHubsClientFactory;
import org.apache.camel.test.junit6.CamelTestSupport;
import org.junit.jupiter.api.Test;
diff --git a/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventProcessorTest.java b/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventProcessorTest.java
index 64fbee96dbf4..fe498e471dbc 100644
--- a/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventProcessorTest.java
+++ b/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventProcessorTest.java
@@ -21,6 +21,7 @@ import java.util.function.Consumer;
import com.azure.identity.IntelliJCredentialBuilder;
import com.azure.messaging.eventhubs.models.ErrorContext;
import com.azure.messaging.eventhubs.models.EventContext;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.eventhubs.client.EventHubsClientFactory;
import org.junit.jupiter.api.Test;
diff --git a/components/camel-azure/camel-azure-files/src/generated/java/org/apache/camel/component/file/azure/FilesEndpointConfigurer.java b/components/camel-azure/camel-azure-files/src/generated/java/org/apache/camel/component/file/azure/FilesEndpointConfigurer.java
index c3236f143d9e..91e9125ea5df 100644
--- a/components/camel-azure/camel-azure-files/src/generated/java/org/apache/camel/component/file/azure/FilesEndpointConfigurer.java
+++ b/components/camel-azure/camel-azure-files/src/generated/java/org/apache/camel/component/file/azure/FilesEndpointConfigurer.java
@@ -50,7 +50,7 @@ public class FilesEndpointConfigurer extends PropertyConfigurerSupport implement
case "connecttimeout":
case "connectTimeout": target.getConfiguration().setConnectTimeout(property(camelContext, int.class, value)); return true;
case "credentialtype":
- case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.file.azure.CredentialType.class, value)); return true;
+ case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
case "delete": target.setDelete(property(camelContext, boolean.class, value)); return true;
case "disconnect": target.setDisconnect(property(camelContext, boolean.class, value)); return true;
@@ -232,7 +232,7 @@ public class FilesEndpointConfigurer extends PropertyConfigurerSupport implement
case "connecttimeout":
case "connectTimeout": return int.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.file.azure.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "delay": return long.class;
case "delete": return boolean.class;
case "disconnect": return boolean.class;
diff --git a/components/camel-azure/camel-azure-files/src/generated/resources/META-INF/org/apache/camel/component/file/azure/azure-files.json b/components/camel-azure/camel-azure-files/src/generated/resources/META-INF/org/apache/camel/component/file/azure/azure-files.json
index ff1037a93927..7f199735eace 100644
--- a/components/camel-azure/camel-azure-files/src/generated/resources/META-INF/org/apache/camel/component/file/azure/azure-files.json
+++ b/components/camel-azure/camel-azure-files/src/generated/resources/META-INF/org/apache/camel/component/file/azure/azure-files.json
@@ -52,7 +52,7 @@
"share": { "index": 1, "kind": "path", "displayName": "Share", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.file.azure.FilesConfiguration", "configurationField": "configuration", "description": "The share to use" },
"port": { "index": 2, "kind": "path", "displayName": "Port", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.file.azure.FilesConfiguration", "configurationField": "configuration", "description": "Port of the FTP server" },
"directoryName": { "index": 3, "kind": "path", "displayName": "Directory Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.file.azure.FilesConfiguration", "configurationField": "configuration", "description": "The starting directory" },
- "credentialType": { "index": 4, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.file.azure.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.file.azure.FilesConfigur [...]
+ "credentialType": { "index": 4, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.file.azure.FilesConfig [...]
"disconnect": { "index": 5, "kind": "parameter", "displayName": "Disconnect", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether or not to disconnect from remote FTP server right after use. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop th [...]
"doneFileName": { "index": 6, "kind": "parameter", "displayName": "Done File Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Producer: If provided, then Camel will write a 2nd done file when the original file has been written. The done file will be empty. This option configures what file name to use. Either you can specify a fixed name. Or you can use [...]
"fileName": { "index": 7, "kind": "parameter", "displayName": "File Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Use Expression such as File Language to dynamically set the filename. For consumers, it's used as a filename filter. For producers, it's used to evaluate the filename to write. If an expression is set, it take precedence over the CamelFil [...]
diff --git a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/CredentialType.java b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/CredentialType.java
deleted file mode 100644
index dcfcda9e2aaf..000000000000
--- a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/CredentialType.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.file.azure;
-
-/**
- * @deprecated Use {@link org.apache.camel.component.azure.common.CredentialType} instead.
- */
-@Deprecated(since = "4.19.0")
-public enum CredentialType {
- SHARED_ACCOUNT_KEY,
- /**
- * Includes:
- * <uL>
- * <li>Service principal with secret</li>
- * <li>Service principal with certificate</li>
- * <li>username and password</li>
- * </uL>
- *
- * @see com.azure.identity.DefaultAzureCredentialBuilder
- */
- AZURE_IDENTITY,
- /**
- * SAS Token
- *
- */
- AZURE_SAS
-}
diff --git a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesConfiguration.java b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesConfiguration.java
index d3af1ae62d09..a0376d5a4c46 100644
--- a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesConfiguration.java
+++ b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesConfiguration.java
@@ -18,13 +18,14 @@ package org.apache.camel.component.file.azure;
import java.net.URI;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.file.remote.RemoteFileConfiguration;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
import org.apache.camel.spi.UriPath;
-import static org.apache.camel.component.file.azure.CredentialType.SHARED_ACCOUNT_KEY;
+import static org.apache.camel.component.azure.common.CredentialType.SHARED_ACCOUNT_KEY;
@UriParams
public class FilesConfiguration extends RemoteFileConfiguration {
diff --git a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesOperations.java b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesOperations.java
index 28a8b2ea87bc..4a64d43deff6 100644
--- a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesOperations.java
+++ b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesOperations.java
@@ -43,6 +43,7 @@ import com.azure.storage.file.share.options.ShareFileRenameOptions;
import com.azure.storage.file.share.options.ShareListFilesAndDirectoriesOptions;
import org.apache.camel.Exchange;
import org.apache.camel.InvalidPayloadException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.file.FileComponent;
import org.apache.camel.component.file.GenericFile;
import org.apache.camel.component.file.GenericFileEndpoint;
diff --git a/components/camel-azure/camel-azure-functions/src/generated/java/org/apache/camel/component/azure/functions/FunctionsComponentConfigurer.java b/components/camel-azure/camel-azure-functions/src/generated/java/org/apache/camel/component/azure/functions/FunctionsComponentConfigurer.java
index 3d7daa4b284c..8cc5344cc65e 100644
--- a/components/camel-azure/camel-azure-functions/src/generated/java/org/apache/camel/component/azure/functions/FunctionsComponentConfigurer.java
+++ b/components/camel-azure/camel-azure-functions/src/generated/java/org/apache/camel/component/azure/functions/FunctionsComponentConfigurer.java
@@ -42,7 +42,7 @@ public class FunctionsComponentConfigurer extends PropertyConfigurerSupport impl
case "connectiontimeout":
case "connectionTimeout": getOrCreateConfiguration(target).setConnectionTimeout(property(camelContext, int.class, value)); return true;
case "credentialtype":
- case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.functions.CredentialType.class, value)); return true;
+ case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "functionkey":
case "functionKey": getOrCreateConfiguration(target).setFunctionKey(property(camelContext, java.lang.String.class, value)); return true;
case "hostkey":
@@ -92,7 +92,7 @@ public class FunctionsComponentConfigurer extends PropertyConfigurerSupport impl
case "connectiontimeout":
case "connectionTimeout": return int.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.functions.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "functionkey":
case "functionKey": return java.lang.String.class;
case "hostkey":
diff --git a/components/camel-azure/camel-azure-functions/src/generated/java/org/apache/camel/component/azure/functions/FunctionsEndpointConfigurer.java b/components/camel-azure/camel-azure-functions/src/generated/java/org/apache/camel/component/azure/functions/FunctionsEndpointConfigurer.java
index 396d529ef012..3c1e975305a6 100644
--- a/components/camel-azure/camel-azure-functions/src/generated/java/org/apache/camel/component/azure/functions/FunctionsEndpointConfigurer.java
+++ b/components/camel-azure/camel-azure-functions/src/generated/java/org/apache/camel/component/azure/functions/FunctionsEndpointConfigurer.java
@@ -32,7 +32,7 @@ public class FunctionsEndpointConfigurer extends PropertyConfigurerSupport imple
case "connectiontimeout":
case "connectionTimeout": target.getConfiguration().setConnectionTimeout(property(camelContext, int.class, value)); return true;
case "credentialtype":
- case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.functions.CredentialType.class, value)); return true;
+ case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "functionkey":
case "functionKey": target.getConfiguration().setFunctionKey(property(camelContext, java.lang.String.class, value)); return true;
case "hostkey":
@@ -79,7 +79,7 @@ public class FunctionsEndpointConfigurer extends PropertyConfigurerSupport imple
case "connectiontimeout":
case "connectionTimeout": return int.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.functions.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "functionkey":
case "functionKey": return java.lang.String.class;
case "hostkey":
diff --git a/components/camel-azure/camel-azure-functions/src/generated/resources/META-INF/org/apache/camel/component/azure/functions/azure-functions.json b/components/camel-azure/camel-azure-functions/src/generated/resources/META-INF/org/apache/camel/component/azure/functions/azure-functions.json
index c91aeb7c8d57..d9a5ba858b85 100644
--- a/components/camel-azure/camel-azure-functions/src/generated/resources/META-INF/org/apache/camel/component/azure/functions/azure-functions.json
+++ b/components/camel-azure/camel-azure-functions/src/generated/resources/META-INF/org/apache/camel/component/azure/functions/azure-functions.json
@@ -38,7 +38,7 @@
"autowiredEnabled": { "index": 11, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "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 [...]
"clientId": { "index": 12, "kind": "property", "displayName": "Client Id", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "Azure AD Client ID for service principal authentication" },
"clientSecret": { "index": 13, "kind": "property", "displayName": "Client Secret", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "Azure AD Client Secret for service principal authentication" },
- "credentialType": { "index": 14, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.functions.CredentialType", "enum": [ "AZURE_IDENTITY", "FUNCTION_KEY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "c [...]
+ "credentialType": { "index": 14, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "FUNCTION_KEY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "conf [...]
"functionKey": { "index": 15, "kind": "property", "displayName": "Function Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The function key for direct HTTP invocation" },
"hostKey": { "index": 16, "kind": "property", "displayName": "Host Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The host key for the function app (used if function key is not provided)" },
"resourceGroup": { "index": 17, "kind": "property", "displayName": "Resource Group", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The resource group name containing the function app (required for management operations)" },
@@ -81,7 +81,7 @@
"appServiceManager": { "index": 11, "kind": "parameter", "displayName": "App Service Manager", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "com.azure.resourcemanager.appservice.AppServiceManager", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "An AppServiceManag [...]
"clientId": { "index": 12, "kind": "parameter", "displayName": "Client Id", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "Azure AD Client ID for service principal authentication" },
"clientSecret": { "index": 13, "kind": "parameter", "displayName": "Client Secret", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "Azure AD Client Secret for service principal authentication" },
- "credentialType": { "index": 14, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.functions.CredentialType", "enum": [ "AZURE_IDENTITY", "FUNCTION_KEY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", " [...]
+ "credentialType": { "index": 14, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "FUNCTION_KEY", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "con [...]
"functionKey": { "index": 15, "kind": "parameter", "displayName": "Function Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The function key for direct HTTP invocation" },
"hostKey": { "index": 16, "kind": "parameter", "displayName": "Host Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The host key for the function app (used if function key is not provided)" },
"resourceGroup": { "index": 17, "kind": "parameter", "displayName": "Resource Group", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.functions.FunctionsConfiguration", "configurationField": "configuration", "description": "The resource group name containing the function app (required for management operations)" },
diff --git a/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/CredentialType.java b/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/CredentialType.java
deleted file mode 100644
index 450fd8fddf0f..000000000000
--- a/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/CredentialType.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.azure.functions;
-
-/**
- * Determines the credential strategy to use for Azure Functions operations.
- *
- * @deprecated Use {@link org.apache.camel.component.azure.common.CredentialType} instead.
- */
-@Deprecated(since = "4.19.0")
-public enum CredentialType {
- /**
- * Uses DefaultAzureCredential for automatic credential chain. Supports environment variables, managed identity,
- * Azure CLI, etc.
- */
- AZURE_IDENTITY,
-
- /**
- * Uses function key or host key for direct HTTP invocation. Only valid for invokeFunction operation.
- */
- FUNCTION_KEY,
-
- /**
- * Uses a provided TokenCredential instance.
- */
- TOKEN_CREDENTIAL
-}
diff --git a/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/FunctionsConfiguration.java b/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/FunctionsConfiguration.java
index 479e43c5b921..b980f304287f 100644
--- a/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/FunctionsConfiguration.java
+++ b/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/FunctionsConfiguration.java
@@ -19,6 +19,7 @@ package org.apache.camel.component.azure.functions;
import com.azure.core.credential.TokenCredential;
import com.azure.resourcemanager.appservice.AppServiceManager;
import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
diff --git a/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/client/FunctionsClientFactory.java b/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/client/FunctionsClientFactory.java
index 16b5aaebf0e3..968700eeca48 100644
--- a/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/client/FunctionsClientFactory.java
+++ b/components/camel-azure/camel-azure-functions/src/main/java/org/apache/camel/component/azure/functions/client/FunctionsClientFactory.java
@@ -22,7 +22,7 @@ import com.azure.core.management.profile.AzureProfile;
import com.azure.identity.ClientSecretCredentialBuilder;
import com.azure.identity.DefaultAzureCredentialBuilder;
import com.azure.resourcemanager.appservice.AppServiceManager;
-import org.apache.camel.component.azure.functions.CredentialType;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.functions.FunctionsConfiguration;
import org.apache.camel.util.ObjectHelper;
diff --git a/components/camel-azure/camel-azure-key-vault/src/generated/java/org/apache/camel/component/azure/key/vault/KeyVaultEndpointConfigurer.java b/components/camel-azure/camel-azure-key-vault/src/generated/java/org/apache/camel/component/azure/key/vault/KeyVaultEndpointConfigurer.java
index 5eb40265db5a..c14b4a529a64 100644
--- a/components/camel-azure/camel-azure-key-vault/src/generated/java/org/apache/camel/component/azure/key/vault/KeyVaultEndpointConfigurer.java
+++ b/components/camel-azure/camel-azure-key-vault/src/generated/java/org/apache/camel/component/azure/key/vault/KeyVaultEndpointConfigurer.java
@@ -28,7 +28,7 @@ public class KeyVaultEndpointConfigurer extends PropertyConfigurerSupport implem
case "clientsecret":
case "clientSecret": target.getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
case "credentialtype":
- case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.key.vault.CredentialType.class, value)); return true;
+ case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "lazystartproducer":
case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
case "operation": target.getConfiguration().setOperation(property(camelContext, org.apache.camel.component.azure.key.vault.KeyVaultOperation.class, value)); return true;
@@ -53,7 +53,7 @@ public class KeyVaultEndpointConfigurer extends PropertyConfigurerSupport implem
case "clientsecret":
case "clientSecret": return java.lang.String.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.key.vault.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "lazystartproducer":
case "lazyStartProducer": return boolean.class;
case "operation": return org.apache.camel.component.azure.key.vault.KeyVaultOperation.class;
diff --git a/components/camel-azure/camel-azure-key-vault/src/generated/resources/META-INF/org/apache/camel/component/azure/key/vault/azure-key-vault.json b/components/camel-azure/camel-azure-key-vault/src/generated/resources/META-INF/org/apache/camel/component/azure/key/vault/azure-key-vault.json
index 1f2126f996fe..089bd670154f 100644
--- a/components/camel-azure/camel-azure-key-vault/src/generated/resources/META-INF/org/apache/camel/component/azure/key/vault/azure-key-vault.json
+++ b/components/camel-azure/camel-azure-key-vault/src/generated/resources/META-INF/org/apache/camel/component/azure/key/vault/azure-key-vault.json
@@ -35,7 +35,7 @@
},
"properties": {
"vaultName": { "index": 0, "kind": "path", "displayName": "Vault Name", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.key.vault.KeyVaultConfiguration", "configurationField": "configuration", "description": "Vault Name to be used" },
- "credentialType": { "index": 1, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.key.vault.CredentialType", "enum": [ "CLIENT_SECRET", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.component.azure.key.vault.KeyVaultConfiguration", "configurationField": "conf [...]
+ "credentialType": { "index": 1, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "CLIENT_SECRET", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.component.azure.key.vault.KeyVaultConfiguration", "configurationField": "configu [...]
"operation": { "index": 2, "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "producer", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.key.vault.KeyVaultOperation", "enum": [ "createSecret", "getSecret", "updateSecretProperties", "deleteSecret", "purgeDeletedSecret" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.key.vault.KeyVaultConfiguration", "confi [...]
"secretClient": { "index": 3, "kind": "parameter", "displayName": "Secret Client", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.azure.security.keyvault.secrets.SecretClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.key.vault.KeyVaultConfiguration", "configurationField": "configuration", "description": "Instance of Secret client" },
"lazyStartProducer": { "index": 4, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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 produc [...]
diff --git a/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/CredentialType.java b/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/CredentialType.java
deleted file mode 100644
index 4182186b373d..000000000000
--- a/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/CredentialType.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.azure.key.vault;
-
-/**
- * @deprecated Use {@link org.apache.camel.component.azure.common.CredentialType} instead.
- */
-@Deprecated(since = "4.19.0")
-public enum CredentialType {
- /**
- * Client Secret Credential
- */
- CLIENT_SECRET,
- /**
- * Includes:
- * <uL>
- * <li>Service principal with secret</li>
- * <li>Service principal with certificate</li>
- * <li>username and password</li>
- * </uL>
- *
- * @see com.azure.identity.DefaultAzureCredentialBuilder
- */
- AZURE_IDENTITY
-}
diff --git a/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultComponent.java b/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultComponent.java
index 8fc3c5216980..6cef7fe14401 100644
--- a/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultComponent.java
+++ b/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultComponent.java
@@ -20,6 +20,7 @@ import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.Endpoint;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.annotations.Component;
import org.apache.camel.support.DefaultComponent;
diff --git a/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultConfiguration.java b/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultConfiguration.java
index 2eefb6d21433..4f7a1fe222d0 100644
--- a/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultConfiguration.java
+++ b/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultConfiguration.java
@@ -18,12 +18,13 @@ package org.apache.camel.component.azure.key.vault;
import com.azure.security.keyvault.secrets.SecretClient;
import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
import org.apache.camel.spi.UriPath;
-import static org.apache.camel.component.azure.key.vault.CredentialType.CLIENT_SECRET;
+import static org.apache.camel.component.azure.common.CredentialType.CLIENT_SECRET;
@UriParams
public class KeyVaultConfiguration implements Cloneable {
diff --git a/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultEndpoint.java b/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultEndpoint.java
index fdc935d50d72..46b8b304d932 100644
--- a/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultEndpoint.java
+++ b/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultEndpoint.java
@@ -28,6 +28,7 @@ import org.apache.camel.Component;
import org.apache.camel.Consumer;
import org.apache.camel.Processor;
import org.apache.camel.Producer;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.EndpointServiceLocation;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriEndpoint;
diff --git a/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusComponentConfigurer.java b/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusComponentConfigurer.java
index 13d1133cd845..d9ee1b181f15 100644
--- a/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusComponentConfigurer.java
+++ b/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusComponentConfigurer.java
@@ -45,7 +45,7 @@ public class ServiceBusComponentConfigurer extends PropertyConfigurerSupport imp
case "connectionstring":
case "connectionString": getOrCreateConfiguration(target).setConnectionString(property(camelContext, java.lang.String.class, value)); return true;
case "credentialtype":
- case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.servicebus.CredentialType.class, value)); return true;
+ case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "enabledeadlettering":
case "enableDeadLettering": getOrCreateConfiguration(target).setEnableDeadLettering(property(camelContext, boolean.class, value)); return true;
case "fullyqualifiednamespace":
@@ -113,7 +113,7 @@ public class ServiceBusComponentConfigurer extends PropertyConfigurerSupport imp
case "connectionstring":
case "connectionString": return java.lang.String.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.servicebus.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "enabledeadlettering":
case "enableDeadLettering": return boolean.class;
case "fullyqualifiednamespace":
diff --git a/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointConfigurer.java b/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointConfigurer.java
index 6c0389e28fd5..8bbd72aa477a 100644
--- a/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointConfigurer.java
+++ b/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointConfigurer.java
@@ -35,7 +35,7 @@ public class ServiceBusEndpointConfigurer extends PropertyConfigurerSupport impl
case "connectionstring":
case "connectionString": target.getConfiguration().setConnectionString(property(camelContext, java.lang.String.class, value)); return true;
case "credentialtype":
- case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.servicebus.CredentialType.class, value)); return true;
+ case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "enabledeadlettering":
case "enableDeadLettering": target.getConfiguration().setEnableDeadLettering(property(camelContext, boolean.class, value)); return true;
case "exceptionhandler":
@@ -104,7 +104,7 @@ public class ServiceBusEndpointConfigurer extends PropertyConfigurerSupport impl
case "connectionstring":
case "connectionString": return java.lang.String.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.servicebus.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "enabledeadlettering":
case "enableDeadLettering": return boolean.class;
case "exceptionhandler":
diff --git a/components/camel-azure/camel-azure-servicebus/src/generated/resources/META-INF/org/apache/camel/component/azure/servicebus/azure-servicebus.json b/components/camel-azure/camel-azure-servicebus/src/generated/resources/META-INF/org/apache/camel/component/azure/servicebus/azure-servicebus.json
index 117976bbd7e0..5e917dba117f 100644
--- a/components/camel-azure/camel-azure-servicebus/src/generated/resources/META-INF/org/apache/camel/component/azure/servicebus/azure-servicebus.json
+++ b/components/camel-azure/camel-azure-servicebus/src/generated/resources/META-INF/org/apache/camel/component/azure/servicebus/azure-servicebus.json
@@ -50,7 +50,7 @@
"sessionId": { "index": 23, "kind": "property", "displayName": "Session Id", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Session ID for session-enabled queues or topics." },
"autowiredEnabled": { "index": 24, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "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 [...]
"connectionString": { "index": 25, "kind": "property", "displayName": "Connection String", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Sets the connection string for a Service Bus namespace or a [...]
- "credentialType": { "index": 26, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.servicebus.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfigu [...]
+ "credentialType": { "index": 26, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfigurati [...]
"fullyQualifiedNamespace": { "index": 27, "kind": "property", "displayName": "Fully Qualified Namespace", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Fully Qualified Namespace of the service bus" },
"tokenCredential": { "index": 28, "kind": "property", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "A TokenCredent [...]
},
@@ -109,7 +109,7 @@
"sessionId": { "index": 24, "kind": "parameter", "displayName": "Session Id", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Session ID for session-enabled queues or topics." },
"lazyStartProducer": { "index": 25, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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 produ [...]
"connectionString": { "index": 26, "kind": "parameter", "displayName": "Connection String", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Sets the connection string for a Service Bus namespace or [...]
- "credentialType": { "index": 27, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.servicebus.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfig [...]
+ "credentialType": { "index": 27, "kind": "parameter", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfigurat [...]
"fullyQualifiedNamespace": { "index": 28, "kind": "parameter", "displayName": "Fully Qualified Namespace", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Fully Qualified Namespace of the service bus" },
"tokenCredential": { "index": 29, "kind": "parameter", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": true, "security": "secret", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "A TokenCreden [...]
}
diff --git a/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/CredentialType.java b/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/CredentialType.java
deleted file mode 100644
index a3ee00ebf433..000000000000
--- a/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/CredentialType.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.azure.servicebus;
-
-/**
- * @deprecated Use {@link org.apache.camel.component.azure.common.CredentialType} instead.
- */
-@Deprecated(since = "4.19.0")
-public enum CredentialType {
- /**
- * Servicebus Connection String
- */
- CONNECTION_STRING,
- /**
- * Includes:
- * <uL>
- * <li>Service principal with secret</li>
- * <li>Service principal with certificate</li>
- * <li>username and password</li>
- * </uL>
- *
- * @see com.azure.identity.DefaultAzureCredentialBuilder
- */
- AZURE_IDENTITY,
- /**
- * Servicebus Token Credential
- */
- TOKEN_CREDENTIAL,
-}
diff --git a/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusComponent.java b/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusComponent.java
index 9dd252b7f289..16b3908d961a 100644
--- a/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusComponent.java
+++ b/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusComponent.java
@@ -21,6 +21,7 @@ import java.util.Map;
import com.azure.identity.DefaultAzureCredential;
import org.apache.camel.CamelContext;
import org.apache.camel.Endpoint;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.annotations.Component;
import org.apache.camel.support.DefaultComponent;
diff --git a/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusConfiguration.java b/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusConfiguration.java
index d9e8d836911e..03b31e90dae2 100644
--- a/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusConfiguration.java
+++ b/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusConfiguration.java
@@ -29,6 +29,7 @@ import com.azure.messaging.servicebus.ServiceBusTransactionContext;
import com.azure.messaging.servicebus.models.ServiceBusReceiveMode;
import com.azure.messaging.servicebus.models.SubQueue;
import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.*;
@UriParams
diff --git a/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/client/ServiceBusClientFactory.java b/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/client/ServiceBusClientFactory.java
index 91ea8ab77d41..013dc891b4dc 100644
--- a/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/client/ServiceBusClientFactory.java
+++ b/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/client/ServiceBusClientFactory.java
@@ -22,7 +22,7 @@ import java.util.function.Consumer;
import com.azure.core.credential.TokenCredential;
import com.azure.identity.DefaultAzureCredentialBuilder;
import com.azure.messaging.servicebus.*;
-import org.apache.camel.component.azure.servicebus.CredentialType;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.servicebus.ServiceBusConfiguration;
import org.apache.camel.component.azure.servicebus.ServiceBusType;
diff --git a/components/camel-azure/camel-azure-servicebus/src/test/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointTest.java b/components/camel-azure/camel-azure-servicebus/src/test/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointTest.java
index e54f09d31d6e..cf164128ac34 100644
--- a/components/camel-azure/camel-azure-servicebus/src/test/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointTest.java
+++ b/components/camel-azure/camel-azure-servicebus/src/test/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointTest.java
@@ -26,6 +26,7 @@ import com.azure.identity.DefaultAzureCredentialBuilder;
import com.azure.messaging.servicebus.ServiceBusSenderClient;
import org.apache.camel.FailedToCreateProducerException;
import org.apache.camel.ResolveEndpointFailedException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.servicebus.client.ServiceBusClientFactory;
import org.apache.camel.test.junit6.CamelTestSupport;
import org.junit.jupiter.api.Test;
diff --git a/components/camel-azure/camel-azure-storage-blob/src/generated/java/org/apache/camel/component/azure/storage/blob/BlobComponentConfigurer.java b/components/camel-azure/camel-azure-storage-blob/src/generated/java/org/apache/camel/component/azure/storage/blob/BlobComponentConfigurer.java
index d7b4c52f3187..e7c0a684aef8 100644
--- a/components/camel-azure/camel-azure-storage-blob/src/generated/java/org/apache/camel/component/azure/storage/blob/BlobComponentConfigurer.java
+++ b/components/camel-azure/camel-azure-storage-blob/src/generated/java/org/apache/camel/component/azure/storage/blob/BlobComponentConfigurer.java
@@ -72,7 +72,7 @@ public class BlobComponentConfigurer extends PropertyConfigurerSupport implement
case "createpageblob":
case "createPageBlob": getOrCreateConfiguration(target).setCreatePageBlob(property(camelContext, boolean.class, value)); return true;
case "credentialtype":
- case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.storage.blob.CredentialType.class, value)); return true;
+ case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "credentials": getOrCreateConfiguration(target).setCredentials(property(camelContext, com.azure.storage.common.StorageSharedKeyCredential.class, value)); return true;
case "datacount":
case "dataCount": getOrCreateConfiguration(target).setDataCount(property(camelContext, java.lang.Long.class, value)); return true;
@@ -180,7 +180,7 @@ public class BlobComponentConfigurer extends PropertyConfigurerSupport implement
case "createpageblob":
case "createPageBlob": return boolean.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.storage.blob.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "credentials": return com.azure.storage.common.StorageSharedKeyCredential.class;
case "datacount":
case "dataCount": return java.lang.Long.class;
diff --git a/components/camel-azure/camel-azure-storage-blob/src/generated/java/org/apache/camel/component/azure/storage/blob/BlobEndpointConfigurer.java b/components/camel-azure/camel-azure-storage-blob/src/generated/java/org/apache/camel/component/azure/storage/blob/BlobEndpointConfigurer.java
index 022bd4d900f4..c304e7d46f78 100644
--- a/components/camel-azure/camel-azure-storage-blob/src/generated/java/org/apache/camel/component/azure/storage/blob/BlobEndpointConfigurer.java
+++ b/components/camel-azure/camel-azure-storage-blob/src/generated/java/org/apache/camel/component/azure/storage/blob/BlobEndpointConfigurer.java
@@ -70,7 +70,7 @@ public class BlobEndpointConfigurer extends PropertyConfigurerSupport implements
case "createpageblob":
case "createPageBlob": target.getConfiguration().setCreatePageBlob(property(camelContext, boolean.class, value)); return true;
case "credentialtype":
- case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.storage.blob.CredentialType.class, value)); return true;
+ case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "credentials": target.getConfiguration().setCredentials(property(camelContext, com.azure.storage.common.StorageSharedKeyCredential.class, value)); return true;
case "datacount":
case "dataCount": target.getConfiguration().setDataCount(property(camelContext, java.lang.Long.class, value)); return true;
@@ -206,7 +206,7 @@ public class BlobEndpointConfigurer extends PropertyConfigurerSupport implements
case "createpageblob":
case "createPageBlob": return boolean.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.storage.blob.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "credentials": return com.azure.storage.common.StorageSharedKeyCredential.class;
case "datacount":
case "dataCount": return java.lang.Long.class;
diff --git a/components/camel-azure/camel-azure-storage-blob/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/blob/azure-storage-blob.json b/components/camel-azure/camel-azure-storage-blob/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/blob/azure-storage-blob.json
index 6eb288cfb7ea..318babfc431a 100644
--- a/components/camel-azure/camel-azure-storage-blob/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/blob/azure-storage-blob.json
+++ b/components/camel-azure/camel-azure-storage-blob/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/blob/azure-storage-blob.json
@@ -30,7 +30,7 @@
"closeStreamAfterRead": { "index": 3, "kind": "property", "displayName": "Close Stream After Read", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "Close the stream after read or keep it open, default is true" },
"configuration": { "index": 4, "kind": "property", "displayName": "Configuration", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "The component configurations" },
"credentials": { "index": 5, "kind": "property", "displayName": "Credentials", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.azure.storage.common.StorageSharedKeyCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "StorageSharedKeyCredential can be injected to cre [...]
- "credentialType": { "index": 6, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.blob.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.storage.blob.Bl [...]
+ "credentialType": { "index": 6, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConf [...]
"dataCount": { "index": 7, "kind": "property", "displayName": "Data Count", "group": "common", "label": "common", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "How many bytes to include in the range. Must be greater than or equal to 0 if specified." },
"fileDir": { "index": 8, "kind": "property", "displayName": "File Dir", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "The file directory where the downloaded blobs will be saved to, this can be used in both, producer and cons [...]
"leaseBlob": { "index": 9, "kind": "property", "displayName": "Lease Blob", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "Sets whether a lease should be acquired when accessing the blob. When set to true, the c [...]
@@ -166,7 +166,7 @@
"blobType": { "index": 5, "kind": "parameter", "displayName": "Blob Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.blob.BlobType", "enum": [ "blockblob", "appendblob", "pageblob" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "blockblob", "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "des [...]
"closeStreamAfterRead": { "index": 6, "kind": "parameter", "displayName": "Close Stream After Read", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "Close the stream after read or keep it open, default is true" },
"credentials": { "index": 7, "kind": "parameter", "displayName": "Credentials", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.azure.storage.common.StorageSharedKeyCredential", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "StorageSharedKeyCredential can be injected to cr [...]
- "credentialType": { "index": 8, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.blob.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.storage.blob.B [...]
+ "credentialType": { "index": 8, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AZURE_IDENTITY", "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobCon [...]
"dataCount": { "index": 9, "kind": "parameter", "displayName": "Data Count", "group": "common", "label": "common", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "How many bytes to include in the range. Must be greater than or equal to 0 if specified." },
"fileDir": { "index": 10, "kind": "parameter", "displayName": "File Dir", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "The file directory where the downloaded blobs will be saved to, this can be used in both, producer and co [...]
"leaseBlob": { "index": 11, "kind": "parameter", "displayName": "Lease Blob", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.blob.BlobConfiguration", "configurationField": "configuration", "description": "Sets whether a lease should be acquired when accessing the blob. When set to true, the [...]
diff --git a/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/BlobComponent.java b/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/BlobComponent.java
index 56fc0793978d..d2494ad4d1c6 100644
--- a/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/BlobComponent.java
+++ b/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/BlobComponent.java
@@ -21,11 +21,12 @@ import java.util.Map;
import com.azure.storage.blob.BlobServiceClient;
import org.apache.camel.CamelContext;
import org.apache.camel.Endpoint;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.annotations.Component;
import org.apache.camel.support.HealthCheckComponent;
-import static org.apache.camel.component.azure.storage.blob.CredentialType.*;
+import static org.apache.camel.component.azure.common.CredentialType.*;
/**
* Azure Blob Storage component using azure java sdk v12.x
diff --git a/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/BlobConfiguration.java b/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/BlobConfiguration.java
index 4bb96259da0c..a2f46710f6a9 100644
--- a/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/BlobConfiguration.java
+++ b/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/BlobConfiguration.java
@@ -26,6 +26,7 @@ import com.azure.storage.blob.BlobServiceClient;
import com.azure.storage.blob.models.BlockListType;
import com.azure.storage.common.StorageSharedKeyCredential;
import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
diff --git a/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/CredentialType.java b/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/CredentialType.java
deleted file mode 100644
index f97643d11dc1..000000000000
--- a/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/CredentialType.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.azure.storage.blob;
-
-/**
- * @deprecated Use {@link org.apache.camel.component.azure.common.CredentialType} instead.
- */
-@Deprecated(since = "4.19.0")
-public enum CredentialType {
- /**
- * Shared key credential
- *
- * @see com.azure.storage.common.StorageSharedKeyCredential
- */
- SHARED_KEY_CREDENTIAL,
- /**
- * storage shared account key
- */
- SHARED_ACCOUNT_KEY,
- /**
- * Includes:
- * <uL>
- * <li>Service principal with secret</li>
- * <li>Service principal with certificate</li>
- * <li>username and password</li>
- * </uL>
- *
- * @see com.azure.identity.DefaultAzureCredentialBuilder
- */
- AZURE_IDENTITY,
- /**
- * SAS Token
- *
- */
- AZURE_SAS
-}
diff --git a/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/client/BlobClientFactory.java b/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/client/BlobClientFactory.java
index 35640cb7233d..4135fd53db67 100644
--- a/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/client/BlobClientFactory.java
+++ b/components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/client/BlobClientFactory.java
@@ -29,7 +29,7 @@ import static java.lang.String.format;
import static java.util.Locale.ROOT;
import static java.util.Optional.ofNullable;
import static java.util.Set.of;
-import static org.apache.camel.component.azure.storage.blob.CredentialType.*;
+import static org.apache.camel.component.azure.common.CredentialType.*;
import static org.apache.camel.util.ObjectHelper.isEmpty;
public final class BlobClientFactory {
diff --git a/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/BlobComponentTest.java b/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/BlobComponentTest.java
index 289a61a1b6ab..56946437ff02 100644
--- a/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/BlobComponentTest.java
+++ b/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/BlobComponentTest.java
@@ -25,12 +25,13 @@ import java.util.Collections;
import com.azure.storage.blob.BlobServiceClient;
import com.azure.storage.common.StorageSharedKeyCredential;
import org.apache.camel.Producer;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.storage.blob.client.BlobClientFactory;
import org.apache.camel.support.DefaultExchange;
import org.apache.camel.test.junit6.CamelTestSupport;
import org.junit.jupiter.api.Test;
-import static org.apache.camel.component.azure.storage.blob.CredentialType.SHARED_KEY_CREDENTIAL;
+import static org.apache.camel.component.azure.common.CredentialType.SHARED_KEY_CREDENTIAL;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
diff --git a/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/Base.java b/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/Base.java
index 83d177815a05..ecb5e5362a06 100644
--- a/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/Base.java
+++ b/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/Base.java
@@ -31,7 +31,7 @@ import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.extension.RegisterExtension;
-import static org.apache.camel.component.azure.storage.blob.CredentialType.SHARED_KEY_CREDENTIAL;
+import static org.apache.camel.component.azure.common.CredentialType.SHARED_KEY_CREDENTIAL;
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
public class Base extends CamelTestSupport {
diff --git a/components/camel-azure/camel-azure-storage-datalake/src/generated/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponentConfigurer.java b/components/camel-azure/camel-azure-storage-datalake/src/generated/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponentConfigurer.java
index 6bc3c12a2c6a..7d9a012209ac 100644
--- a/components/camel-azure/camel-azure-storage-datalake/src/generated/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponentConfigurer.java
+++ b/components/camel-azure/camel-azure-storage-datalake/src/generated/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponentConfigurer.java
@@ -47,7 +47,7 @@ public class DataLakeComponentConfigurer extends PropertyConfigurerSupport imple
case "closeStreamAfterRead": getOrCreateConfiguration(target).setCloseStreamAfterRead(property(camelContext, java.lang.Boolean.class, value)); return true;
case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration.class, value)); return true;
case "credentialtype":
- case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.storage.datalake.CredentialType.class, value)); return true;
+ case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "datacount":
case "dataCount": getOrCreateConfiguration(target).setDataCount(property(camelContext, java.lang.Long.class, value)); return true;
case "directoryname":
@@ -124,7 +124,7 @@ public class DataLakeComponentConfigurer extends PropertyConfigurerSupport imple
case "closeStreamAfterRead": return java.lang.Boolean.class;
case "configuration": return org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.storage.datalake.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "datacount":
case "dataCount": return java.lang.Long.class;
case "directoryname":
diff --git a/components/camel-azure/camel-azure-storage-datalake/src/generated/java/org/apache/camel/component/azure/storage/datalake/DataLakeEndpointConfigurer.java b/components/camel-azure/camel-azure-storage-datalake/src/generated/java/org/apache/camel/component/azure/storage/datalake/DataLakeEndpointConfigurer.java
index 5394897dbc1c..55bb65502db0 100644
--- a/components/camel-azure/camel-azure-storage-datalake/src/generated/java/org/apache/camel/component/azure/storage/datalake/DataLakeEndpointConfigurer.java
+++ b/components/camel-azure/camel-azure-storage-datalake/src/generated/java/org/apache/camel/component/azure/storage/datalake/DataLakeEndpointConfigurer.java
@@ -43,7 +43,7 @@ public class DataLakeEndpointConfigurer extends PropertyConfigurerSupport implem
case "closestreamafterread":
case "closeStreamAfterRead": target.getConfiguration().setCloseStreamAfterRead(property(camelContext, java.lang.Boolean.class, value)); return true;
case "credentialtype":
- case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.storage.datalake.CredentialType.class, value)); return true;
+ case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "datacount":
case "dataCount": target.getConfiguration().setDataCount(property(camelContext, java.lang.Long.class, value)); return true;
case "datalakeserviceclient":
@@ -148,7 +148,7 @@ public class DataLakeEndpointConfigurer extends PropertyConfigurerSupport implem
case "closestreamafterread":
case "closeStreamAfterRead": return java.lang.Boolean.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.storage.datalake.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "datacount":
case "dataCount": return java.lang.Long.class;
case "datalakeserviceclient":
diff --git a/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/datalake/azure-storage-datalake.json b/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/datalake/azure-storage-datalake.json
index 78ee71eb1d66..1d7e295cc8b7 100644
--- a/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/datalake/azure-storage-datalake.json
+++ b/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/datalake/azure-storage-datalake.json
@@ -28,7 +28,7 @@
"close": { "index": 1, "kind": "property", "displayName": "Close", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "Whether or not a file changed event raised indicates completion (true) or modificatio [...]
"closeStreamAfterRead": { "index": 2, "kind": "property", "displayName": "Close Stream After Read", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "check for closing stream after read" },
"configuration": { "index": 3, "kind": "property", "displayName": "Configuration", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "configuration object for data lake" },
- "credentialType": { "index": 4, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.datalake.CredentialType", "enum": [ "CLIENT_SECRET", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS", "SERVICE_CLIENT_INSTANCE" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.compon [...]
+ "credentialType": { "index": 4, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "CLIENT_SECRET", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS", "SERVICE_CLIENT_INSTANCE" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.component.azure. [...]
"dataCount": { "index": 5, "kind": "property", "displayName": "Data Count", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "count number of bytes to download" },
"directoryName": { "index": 6, "kind": "property", "displayName": "Directory Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "directory of the file to be handled in component" },
"downloadLinkExpiration": { "index": 7, "kind": "property", "displayName": "Download Link Expiration", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "download link expiration time" },
@@ -134,7 +134,7 @@
"clientId": { "index": 2, "kind": "parameter", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "client id for azure account" },
"close": { "index": 3, "kind": "parameter", "displayName": "Close", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "Whether or not a file changed event raised indicates completion (true) or modificati [...]
"closeStreamAfterRead": { "index": 4, "kind": "parameter", "displayName": "Close Stream After Read", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "check for closing stream after read" },
- "credentialType": { "index": 5, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.datalake.CredentialType", "enum": [ "CLIENT_SECRET", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS", "SERVICE_CLIENT_INSTANCE" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.compo [...]
+ "credentialType": { "index": 5, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "CLIENT_SECRET", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS", "SERVICE_CLIENT_INSTANCE" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CLIENT_SECRET", "configurationClass": "org.apache.camel.component.azure [...]
"dataCount": { "index": 6, "kind": "parameter", "displayName": "Data Count", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "count number of bytes to download" },
"dataLakeServiceClient": { "index": 7, "kind": "parameter", "displayName": "Data Lake Service Client", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.azure.storage.file.datalake.DataLakeServiceClient", "deprecated": false, "autowired": false, "secret": false, "description": "service client of data lake" },
"directoryName": { "index": 8, "kind": "parameter", "displayName": "Directory Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration", "configurationField": "configuration", "description": "directory of the file to be handled in component" },
diff --git a/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/CredentialType.java b/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/CredentialType.java
deleted file mode 100644
index 91045f371cc4..000000000000
--- a/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/CredentialType.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.azure.storage.datalake;
-
-/**
- * @deprecated Use {@link org.apache.camel.component.azure.common.CredentialType} instead.
- */
-@Deprecated(since = "4.19.0")
-public enum CredentialType {
- /**
- * Shared key credential
- *
- * @see com.azure.storage.common.StorageSharedKeyCredential
- */
- SHARED_KEY_CREDENTIAL,
- /**
- * storage Client Secret
- */
- CLIENT_SECRET,
- /**
- * Includes:
- * <uL>
- * <li>Service principal with secret</li>
- * <li>Service principal with certificate</li>
- * <li>username and password</li>
- * </uL>
- *
- * @see com.azure.identity.DefaultAzureCredentialBuilder
- */
- AZURE_IDENTITY,
- /**
- * SAS Token
- *
- */
- AZURE_SAS,
- /**
- * Service Client Instance
- *
- */
- SERVICE_CLIENT_INSTANCE
-
-}
diff --git a/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponent.java b/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponent.java
index 8a58657bbfdf..729f3207b76a 100644
--- a/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponent.java
+++ b/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponent.java
@@ -20,6 +20,7 @@ import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.Endpoint;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.annotations.Component;
import org.apache.camel.support.HealthCheckComponent;
diff --git a/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeConfiguration.java b/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeConfiguration.java
index fc3ce0a5cb2b..c1f395397e3d 100644
--- a/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeConfiguration.java
+++ b/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeConfiguration.java
@@ -25,6 +25,7 @@ import com.azure.identity.ClientSecretCredential;
import com.azure.storage.common.StorageSharedKeyCredential;
import com.azure.storage.file.datalake.DataLakeServiceClient;
import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
diff --git a/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/client/DataLakeClientFactory.java b/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/client/DataLakeClientFactory.java
index 4636e547c77a..3c2437267e6b 100644
--- a/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/client/DataLakeClientFactory.java
+++ b/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/client/DataLakeClientFactory.java
@@ -25,7 +25,7 @@ import com.azure.identity.DefaultAzureCredentialBuilder;
import com.azure.storage.common.StorageSharedKeyCredential;
import com.azure.storage.file.datalake.DataLakeServiceClient;
import com.azure.storage.file.datalake.DataLakeServiceClientBuilder;
-import org.apache.camel.component.azure.storage.datalake.CredentialType;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration;
import org.apache.camel.util.ObjectHelper;
import org.slf4j.Logger;
diff --git a/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/component/DataLakeComponentTest.java b/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/component/DataLakeComponentTest.java
index 31030e6d391e..818c56cfe650 100644
--- a/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/component/DataLakeComponentTest.java
+++ b/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/component/DataLakeComponentTest.java
@@ -19,7 +19,7 @@ package org.apache.camel.component.azure.storage.datalake.component;
import com.azure.storage.common.StorageSharedKeyCredential;
import com.azure.storage.file.datalake.DataLakeServiceClientBuilder;
import org.apache.camel.Producer;
-import org.apache.camel.component.azure.storage.datalake.CredentialType;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration;
import org.apache.camel.component.azure.storage.datalake.DataLakeEndpoint;
import org.apache.camel.component.azure.storage.datalake.DataLakeOperationsDefinition;
diff --git a/components/camel-azure/camel-azure-storage-queue/src/generated/java/org/apache/camel/component/azure/storage/queue/QueueComponentConfigurer.java b/components/camel-azure/camel-azure-storage-queue/src/generated/java/org/apache/camel/component/azure/storage/queue/QueueComponentConfigurer.java
index 2e0b51e59204..8820140f242a 100644
--- a/components/camel-azure/camel-azure-storage-queue/src/generated/java/org/apache/camel/component/azure/storage/queue/QueueComponentConfigurer.java
+++ b/components/camel-azure/camel-azure-storage-queue/src/generated/java/org/apache/camel/component/azure/storage/queue/QueueComponentConfigurer.java
@@ -40,7 +40,7 @@ public class QueueComponentConfigurer extends PropertyConfigurerSupport implemen
case "createqueue":
case "createQueue": getOrCreateConfiguration(target).setCreateQueue(property(camelContext, boolean.class, value)); return true;
case "credentialtype":
- case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.storage.queue.CredentialType.class, value)); return true;
+ case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "credentials": getOrCreateConfiguration(target).setCredentials(property(camelContext, com.azure.storage.common.StorageSharedKeyCredential.class, value)); return true;
case "healthcheckconsumerenabled":
case "healthCheckConsumerEnabled": target.setHealthCheckConsumerEnabled(property(camelContext, boolean.class, value)); return true;
@@ -84,7 +84,7 @@ public class QueueComponentConfigurer extends PropertyConfigurerSupport implemen
case "createqueue":
case "createQueue": return boolean.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.storage.queue.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "credentials": return com.azure.storage.common.StorageSharedKeyCredential.class;
case "healthcheckconsumerenabled":
case "healthCheckConsumerEnabled": return boolean.class;
diff --git a/components/camel-azure/camel-azure-storage-queue/src/generated/java/org/apache/camel/component/azure/storage/queue/QueueEndpointConfigurer.java b/components/camel-azure/camel-azure-storage-queue/src/generated/java/org/apache/camel/component/azure/storage/queue/QueueEndpointConfigurer.java
index 3e2e69663c4f..93852660d810 100644
--- a/components/camel-azure/camel-azure-storage-queue/src/generated/java/org/apache/camel/component/azure/storage/queue/QueueEndpointConfigurer.java
+++ b/components/camel-azure/camel-azure-storage-queue/src/generated/java/org/apache/camel/component/azure/storage/queue/QueueEndpointConfigurer.java
@@ -36,7 +36,7 @@ public class QueueEndpointConfigurer extends PropertyConfigurerSupport implement
case "createqueue":
case "createQueue": target.getConfiguration().setCreateQueue(property(camelContext, boolean.class, value)); return true;
case "credentialtype":
- case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.storage.queue.CredentialType.class, value)); return true;
+ case "credentialType": target.getConfiguration().setCredentialType(property(camelContext, org.apache.camel.component.azure.common.CredentialType.class, value)); return true;
case "credentials": target.getConfiguration().setCredentials(property(camelContext, com.azure.storage.common.StorageSharedKeyCredential.class, value)); return true;
case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
case "exceptionhandler":
@@ -106,7 +106,7 @@ public class QueueEndpointConfigurer extends PropertyConfigurerSupport implement
case "createqueue":
case "createQueue": return boolean.class;
case "credentialtype":
- case "credentialType": return org.apache.camel.component.azure.storage.queue.CredentialType.class;
+ case "credentialType": return org.apache.camel.component.azure.common.CredentialType.class;
case "credentials": return com.azure.storage.common.StorageSharedKeyCredential.class;
case "delay": return long.class;
case "exceptionhandler":
diff --git a/components/camel-azure/camel-azure-storage-queue/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/queue/azure-storage-queue.json b/components/camel-azure/camel-azure-storage-queue/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/queue/azure-storage-queue.json
index b7c283071d00..dade4ad0e742 100644
--- a/components/camel-azure/camel-azure-storage-queue/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/queue/azure-storage-queue.json
+++ b/components/camel-azure/camel-azure-storage-queue/src/generated/resources/META-INF/org/apache/camel/component/azure/storage/queue/azure-storage-queue.json
@@ -25,7 +25,7 @@
},
"componentProperties": {
"configuration": { "index": 0, "kind": "property", "displayName": "Configuration", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "The component configurations" },
- "credentialType": { "index": 1, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.queue.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConf [...]
+ "credentialType": { "index": 1, "kind": "property", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfigurati [...]
"serviceClient": { "index": 2, "kind": "property", "displayName": "Service Client", "group": "common", "label": "common", "required": false, "type": "object", "javaType": "com.azure.storage.queue.QueueServiceClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "configurationField": "configuration", "description": "Service client to a storage account to intera [...]
"bridgeErrorHandler": { "index": 3, "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the like [...]
"createQueue": { "index": 4, "kind": "property", "displayName": "Create Queue", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "configurationField": "configuration", "description": "When is set to true, the queue will be automatically created when sending mess [...]
@@ -64,7 +64,7 @@
"properties": {
"accountName": { "index": 0, "kind": "path", "displayName": "Account Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "configurationField": "configuration", "description": "Azure account name to be used for authentication with azure queue services" },
"queueName": { "index": 1, "kind": "path", "displayName": "Queue Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "configurationField": "configuration", "description": "The queue resource name" },
- "credentialType": { "index": 2, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.storage.queue.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueCon [...]
+ "credentialType": { "index": 2, "kind": "parameter", "displayName": "Credential Type", "group": "common", "label": "common", "required": false, "type": "enum", "javaType": "org.apache.camel.component.azure.common.CredentialType", "enum": [ "SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "SHARED_ACCOUNT_KEY", "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfigurat [...]
"serviceClient": { "index": 3, "kind": "parameter", "displayName": "Service Client", "group": "common", "label": "common", "required": false, "type": "object", "javaType": "com.azure.storage.queue.QueueServiceClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.storage.queue.QueueConfiguration", "configurationField": "configuration", "description": "Service client to a storage account to inter [...]
"sendEmptyMessageWhenIdle": { "index": 4, "kind": "parameter", "displayName": "Send Empty Message When Idle", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead." },
"bridgeErrorHandler": { "index": 5, "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming [...]
diff --git a/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/CredentialType.java b/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/CredentialType.java
deleted file mode 100644
index 528d82de7183..000000000000
--- a/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/CredentialType.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.azure.storage.queue;
-
-/**
- * @deprecated Use {@link org.apache.camel.component.azure.common.CredentialType} instead.
- */
-@Deprecated(since = "4.19.0")
-public enum CredentialType {
- /**
- * Shared key credential
- *
- * @see com.azure.storage.common.StorageSharedKeyCredential
- */
- SHARED_KEY_CREDENTIAL,
- /**
- * storage shared account key
- */
- SHARED_ACCOUNT_KEY,
- /**
- * Includes:
- * <uL>
- * <li>Service principal with secret</li>
- * <li>Service principal with certificate</li>
- * <li>username and password</li>
- * </uL>
- *
- * @see com.azure.identity.DefaultAzureCredentialBuilder
- */
- AZURE_IDENTITY
-}
diff --git a/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/QueueComponent.java b/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/QueueComponent.java
index 92c5a4dbf7b9..686f4271a0dc 100644
--- a/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/QueueComponent.java
+++ b/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/QueueComponent.java
@@ -23,6 +23,7 @@ import com.azure.storage.common.StorageSharedKeyCredential;
import com.azure.storage.queue.QueueServiceClient;
import org.apache.camel.CamelContext;
import org.apache.camel.Endpoint;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.annotations.Component;
import org.apache.camel.support.HealthCheckComponent;
diff --git a/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/QueueConfiguration.java b/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/QueueConfiguration.java
index e09df039be63..ab1baa569d24 100644
--- a/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/QueueConfiguration.java
+++ b/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/QueueConfiguration.java
@@ -21,6 +21,7 @@ import java.time.Duration;
import com.azure.storage.common.StorageSharedKeyCredential;
import com.azure.storage.queue.QueueServiceClient;
import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
diff --git a/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/client/QueueClientFactory.java b/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/client/QueueClientFactory.java
index 1f2a3e4e8bc6..ac85024d06a1 100644
--- a/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/client/QueueClientFactory.java
+++ b/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/client/QueueClientFactory.java
@@ -22,7 +22,7 @@ import com.azure.identity.DefaultAzureCredentialBuilder;
import com.azure.storage.common.StorageSharedKeyCredential;
import com.azure.storage.queue.QueueServiceClient;
import com.azure.storage.queue.QueueServiceClientBuilder;
-import org.apache.camel.component.azure.storage.queue.CredentialType;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.storage.queue.QueueConfiguration;
import org.apache.camel.util.ObjectHelper;
diff --git a/components/camel-azure/camel-azure-storage-queue/src/test/java/org/apache/camel/component/azure/storage/queue/QueueComponentTest.java b/components/camel-azure/camel-azure-storage-queue/src/test/java/org/apache/camel/component/azure/storage/queue/QueueComponentTest.java
index d4afd60314be..6cd0a32d160f 100644
--- a/components/camel-azure/camel-azure-storage-queue/src/test/java/org/apache/camel/component/azure/storage/queue/QueueComponentTest.java
+++ b/components/camel-azure/camel-azure-storage-queue/src/test/java/org/apache/camel/component/azure/storage/queue/QueueComponentTest.java
@@ -22,6 +22,7 @@ import com.azure.storage.common.StorageSharedKeyCredential;
import com.azure.storage.queue.QueueServiceClient;
import org.apache.camel.Producer;
import org.apache.camel.ResolveEndpointFailedException;
+import org.apache.camel.component.azure.common.CredentialType;
import org.apache.camel.component.azure.storage.queue.client.QueueClientFactory;
import org.apache.camel.support.DefaultExchange;
import org.apache.camel.test.junit6.CamelTestSupport;
diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
index 7731d7e7cc54..e70c63e1c550 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
@@ -224,6 +224,26 @@ The new behavior activates automatically when all of the following are true:
No configuration changes are required. The existing `maxAutoLockRenewDuration` option controls how long
Camel will continue renewing a message's lock.
+=== camel-azure - component-specific CredentialType enums removed
+
+The component-specific `CredentialType` enums, deprecated since Camel 4.19.0, have been removed in favor of the
+shared `org.apache.camel.component.azure.common.CredentialType` enum from `camel-azure-common`:
+
+- `org.apache.camel.component.azure.cosmosdb.CredentialType`
+- `org.apache.camel.component.azure.eventgrid.CredentialType`
+- `org.apache.camel.component.azure.eventhubs.CredentialType`
+- `org.apache.camel.component.file.azure.CredentialType` (camel-azure-files)
+- `org.apache.camel.component.azure.functions.CredentialType`
+- `org.apache.camel.component.azure.key.vault.CredentialType`
+- `org.apache.camel.component.azure.servicebus.CredentialType`
+- `org.apache.camel.component.azure.storage.blob.CredentialType`
+- `org.apache.camel.component.azure.storage.datalake.CredentialType`
+- `org.apache.camel.component.azure.storage.queue.CredentialType`
+
+Endpoint URIs are unaffected: the credential type option values keep the same names. Java code that imports one of
+the removed enums — including typed Endpoint DSL calls such as `credentialType(CredentialType)` — must switch the
+import to `org.apache.camel.component.azure.common.CredentialType`.
+
=== camel-debezium
The `camel-debezium` component has upgraded from Debezium 3.5.2 to 3.6.0.
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureCosmosdbComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureCosmosdbComponentBuilderFactory.java
index 343b163df103..d7dff71aa6f9 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureCosmosdbComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureCosmosdbComponentBuilderFactory.java
@@ -644,7 +644,7 @@ public interface AzureCosmosdbComponentBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.cosmosdb.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code> type.
*
* Default: SHARED_ACCOUNT_KEY
* Group: security
@@ -652,7 +652,7 @@ public interface AzureCosmosdbComponentBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default AzureCosmosdbComponentBuilder credentialType(org.apache.camel.component.azure.cosmosdb.CredentialType credentialType) {
+ default AzureCosmosdbComponentBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -707,7 +707,7 @@ public interface AzureCosmosdbComponentBuilderFactory {
case "indexingPolicy": getOrCreateConfiguration((CosmosDbComponent) component).setIndexingPolicy((com.azure.cosmos.models.IndexingPolicy) value); return true;
case "autowiredEnabled": ((CosmosDbComponent) component).setAutowiredEnabled((boolean) value); return true;
case "accountKey": getOrCreateConfiguration((CosmosDbComponent) component).setAccountKey((java.lang.String) value); return true;
- case "credentialType": getOrCreateConfiguration((CosmosDbComponent) component).setCredentialType((org.apache.camel.component.azure.cosmosdb.CredentialType) value); return true;
+ case "credentialType": getOrCreateConfiguration((CosmosDbComponent) component).setCredentialType((org.apache.camel.component.azure.common.CredentialType) value); return true;
default: return false;
}
}
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureEventhubsComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureEventhubsComponentBuilderFactory.java
index 96464f8aed28..8a94c1beec7e 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureEventhubsComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureEventhubsComponentBuilderFactory.java
@@ -472,7 +472,7 @@ public interface AzureEventhubsComponentBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.eventhubs.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code> type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -480,7 +480,7 @@ public interface AzureEventhubsComponentBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default AzureEventhubsComponentBuilder credentialType(org.apache.camel.component.azure.eventhubs.CredentialType credentialType) {
+ default AzureEventhubsComponentBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -574,7 +574,7 @@ public interface AzureEventhubsComponentBuilderFactory {
case "autowiredEnabled": ((EventHubsComponent) component).setAutowiredEnabled((boolean) value); return true;
case "headerFilterStrategy": ((EventHubsComponent) component).setHeaderFilterStrategy((org.apache.camel.spi.HeaderFilterStrategy) value); return true;
case "connectionString": getOrCreateConfiguration((EventHubsComponent) component).setConnectionString((java.lang.String) value); return true;
- case "credentialType": getOrCreateConfiguration((EventHubsComponent) component).setCredentialType((org.apache.camel.component.azure.eventhubs.CredentialType) value); return true;
+ case "credentialType": getOrCreateConfiguration((EventHubsComponent) component).setCredentialType((org.apache.camel.component.azure.common.CredentialType) value); return true;
case "sharedAccessKey": getOrCreateConfiguration((EventHubsComponent) component).setSharedAccessKey((java.lang.String) value); return true;
case "sharedAccessName": getOrCreateConfiguration((EventHubsComponent) component).setSharedAccessName((java.lang.String) value); return true;
case "tokenCredential": getOrCreateConfiguration((EventHubsComponent) component).setTokenCredential((com.azure.core.credential.TokenCredential) value); return true;
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureFunctionsComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureFunctionsComponentBuilderFactory.java
index 068b96fc6aa1..f6696605e36d 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureFunctionsComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureFunctionsComponentBuilderFactory.java
@@ -293,7 +293,7 @@ public interface AzureFunctionsComponentBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.functions.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code> type.
*
* Default: AZURE_IDENTITY
* Group: security
@@ -301,7 +301,7 @@ public interface AzureFunctionsComponentBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default AzureFunctionsComponentBuilder credentialType(org.apache.camel.component.azure.functions.CredentialType credentialType) {
+ default AzureFunctionsComponentBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -434,7 +434,7 @@ public interface AzureFunctionsComponentBuilderFactory {
case "autowiredEnabled": ((FunctionsComponent) component).setAutowiredEnabled((boolean) value); return true;
case "clientId": getOrCreateConfiguration((FunctionsComponent) component).setClientId((java.lang.String) value); return true;
case "clientSecret": getOrCreateConfiguration((FunctionsComponent) component).setClientSecret((java.lang.String) value); return true;
- case "credentialType": getOrCreateConfiguration((FunctionsComponent) component).setCredentialType((org.apache.camel.component.azure.functions.CredentialType) value); return true;
+ case "credentialType": getOrCreateConfiguration((FunctionsComponent) component).setCredentialType((org.apache.camel.component.azure.common.CredentialType) value); return true;
case "functionKey": getOrCreateConfiguration((FunctionsComponent) component).setFunctionKey((java.lang.String) value); return true;
case "hostKey": getOrCreateConfiguration((FunctionsComponent) component).setHostKey((java.lang.String) value); return true;
case "resourceGroup": getOrCreateConfiguration((FunctionsComponent) component).setResourceGroup((java.lang.String) value); return true;
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java
index 9d0610545128..ab432c142eee 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java
@@ -537,7 +537,7 @@ public interface AzureServicebusComponentBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.servicebus.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code> type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -545,7 +545,7 @@ public interface AzureServicebusComponentBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default AzureServicebusComponentBuilder credentialType(org.apache.camel.component.azure.servicebus.CredentialType credentialType) {
+ default AzureServicebusComponentBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -628,7 +628,7 @@ public interface AzureServicebusComponentBuilderFactory {
case "sessionId": getOrCreateConfiguration((ServiceBusComponent) component).setSessionId((java.lang.String) value); return true;
case "autowiredEnabled": ((ServiceBusComponent) component).setAutowiredEnabled((boolean) value); return true;
case "connectionString": getOrCreateConfiguration((ServiceBusComponent) component).setConnectionString((java.lang.String) value); return true;
- case "credentialType": getOrCreateConfiguration((ServiceBusComponent) component).setCredentialType((org.apache.camel.component.azure.servicebus.CredentialType) value); return true;
+ case "credentialType": getOrCreateConfiguration((ServiceBusComponent) component).setCredentialType((org.apache.camel.component.azure.common.CredentialType) value); return true;
case "fullyQualifiedNamespace": getOrCreateConfiguration((ServiceBusComponent) component).setFullyQualifiedNamespace((java.lang.String) value); return true;
case "tokenCredential": getOrCreateConfiguration((ServiceBusComponent) component).setTokenCredential((com.azure.core.credential.TokenCredential) value); return true;
default: return false;
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageBlobComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageBlobComponentBuilderFactory.java
index b3596c3aff83..028728f9e60f 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageBlobComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageBlobComponentBuilderFactory.java
@@ -156,7 +156,7 @@ public interface AzureStorageBlobComponentBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.blob.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code> type.
*
* Default: AZURE_IDENTITY
* Group: common
@@ -164,7 +164,7 @@ public interface AzureStorageBlobComponentBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default AzureStorageBlobComponentBuilder credentialType(org.apache.camel.component.azure.storage.blob.CredentialType credentialType) {
+ default AzureStorageBlobComponentBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -1003,7 +1003,7 @@ public interface AzureStorageBlobComponentBuilderFactory {
case "closeStreamAfterRead": getOrCreateConfiguration((BlobComponent) component).setCloseStreamAfterRead((boolean) value); return true;
case "configuration": ((BlobComponent) component).setConfiguration((org.apache.camel.component.azure.storage.blob.BlobConfiguration) value); return true;
case "credentials": getOrCreateConfiguration((BlobComponent) component).setCredentials((com.azure.storage.common.StorageSharedKeyCredential) value); return true;
- case "credentialType": getOrCreateConfiguration((BlobComponent) component).setCredentialType((org.apache.camel.component.azure.storage.blob.CredentialType) value); return true;
+ case "credentialType": getOrCreateConfiguration((BlobComponent) component).setCredentialType((org.apache.camel.component.azure.common.CredentialType) value); return true;
case "dataCount": getOrCreateConfiguration((BlobComponent) component).setDataCount((java.lang.Long) value); return true;
case "fileDir": getOrCreateConfiguration((BlobComponent) component).setFileDir((java.lang.String) value); return true;
case "leaseBlob": getOrCreateConfiguration((BlobComponent) component).setLeaseBlob((boolean) value); return true;
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageDatalakeComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageDatalakeComponentBuilderFactory.java
index 54efa3672394..8d091950d2ca 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageDatalakeComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageDatalakeComponentBuilderFactory.java
@@ -121,7 +121,7 @@ public interface AzureStorageDatalakeComponentBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.datalake.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code> type.
*
* Default: CLIENT_SECRET
* Group: common
@@ -129,7 +129,7 @@ public interface AzureStorageDatalakeComponentBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default AzureStorageDatalakeComponentBuilder credentialType(org.apache.camel.component.azure.storage.datalake.CredentialType credentialType) {
+ default AzureStorageDatalakeComponentBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -709,7 +709,7 @@ public interface AzureStorageDatalakeComponentBuilderFactory {
case "close": getOrCreateConfiguration((DataLakeComponent) component).setClose((java.lang.Boolean) value); return true;
case "closeStreamAfterRead": getOrCreateConfiguration((DataLakeComponent) component).setCloseStreamAfterRead((java.lang.Boolean) value); return true;
case "configuration": ((DataLakeComponent) component).setConfiguration((org.apache.camel.component.azure.storage.datalake.DataLakeConfiguration) value); return true;
- case "credentialType": getOrCreateConfiguration((DataLakeComponent) component).setCredentialType((org.apache.camel.component.azure.storage.datalake.CredentialType) value); return true;
+ case "credentialType": getOrCreateConfiguration((DataLakeComponent) component).setCredentialType((org.apache.camel.component.azure.common.CredentialType) value); return true;
case "dataCount": getOrCreateConfiguration((DataLakeComponent) component).setDataCount((java.lang.Long) value); return true;
case "directoryName": getOrCreateConfiguration((DataLakeComponent) component).setDirectoryName((java.lang.String) value); return true;
case "downloadLinkExpiration": getOrCreateConfiguration((DataLakeComponent) component).setDownloadLinkExpiration((java.lang.Long) value); return true;
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageQueueComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageQueueComponentBuilderFactory.java
index 5af6279661e9..757a161ecad5 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageQueueComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureStorageQueueComponentBuilderFactory.java
@@ -71,7 +71,7 @@ public interface AzureStorageQueueComponentBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.queue.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code> type.
*
* Default: SHARED_ACCOUNT_KEY
* Group: common
@@ -79,7 +79,7 @@ public interface AzureStorageQueueComponentBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default AzureStorageQueueComponentBuilder credentialType(org.apache.camel.component.azure.storage.queue.CredentialType credentialType) {
+ default AzureStorageQueueComponentBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -418,7 +418,7 @@ public interface AzureStorageQueueComponentBuilderFactory {
Object value) {
switch (name) {
case "configuration": ((QueueComponent) component).setConfiguration((org.apache.camel.component.azure.storage.queue.QueueConfiguration) value); return true;
- case "credentialType": getOrCreateConfiguration((QueueComponent) component).setCredentialType((org.apache.camel.component.azure.storage.queue.CredentialType) value); return true;
+ case "credentialType": getOrCreateConfiguration((QueueComponent) component).setCredentialType((org.apache.camel.component.azure.common.CredentialType) value); return true;
case "serviceClient": getOrCreateConfiguration((QueueComponent) component).setServiceClient((com.azure.storage.queue.QueueServiceClient) value); return true;
case "bridgeErrorHandler": ((QueueComponent) component).setBridgeErrorHandler((boolean) value); return true;
case "createQueue": getOrCreateConfiguration((QueueComponent) component).setCreateQueue((boolean) value); return true;
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobEndpointBuilderFactory.java
index 398169003b14..10ff8f04aa65 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobEndpointBuilderFactory.java
@@ -240,7 +240,8 @@ public interface BlobEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.blob.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: AZURE_IDENTITY
* Group: common
@@ -248,7 +249,7 @@ public interface BlobEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default BlobEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.storage.blob.CredentialType credentialType) {
+ default BlobEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -256,7 +257,8 @@ public interface BlobEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.storage.blob.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: AZURE_IDENTITY
* Group: common
@@ -1710,7 +1712,8 @@ public interface BlobEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.blob.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: AZURE_IDENTITY
* Group: common
@@ -1718,7 +1721,7 @@ public interface BlobEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default BlobEndpointProducerBuilder credentialType(org.apache.camel.component.azure.storage.blob.CredentialType credentialType) {
+ default BlobEndpointProducerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -1726,7 +1729,8 @@ public interface BlobEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.storage.blob.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: AZURE_IDENTITY
* Group: common
@@ -2909,7 +2913,8 @@ public interface BlobEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.blob.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: AZURE_IDENTITY
* Group: common
@@ -2917,7 +2922,7 @@ public interface BlobEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default BlobEndpointBuilder credentialType(org.apache.camel.component.azure.storage.blob.CredentialType credentialType) {
+ default BlobEndpointBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -2925,7 +2930,8 @@ public interface BlobEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.storage.blob.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: AZURE_IDENTITY
* Group: common
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CosmosDbEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CosmosDbEndpointBuilderFactory.java
index 21e5c0449559..fa597c2fd75c 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CosmosDbEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CosmosDbEndpointBuilderFactory.java
@@ -651,7 +651,7 @@ public interface CosmosDbEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.cosmosdb.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
@@ -660,7 +660,7 @@ public interface CosmosDbEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default CosmosDbEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.cosmosdb.CredentialType credentialType) {
+ default CosmosDbEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -668,7 +668,7 @@ public interface CosmosDbEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.cosmosdb.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
@@ -1420,7 +1420,7 @@ public interface CosmosDbEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.cosmosdb.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
@@ -1429,7 +1429,7 @@ public interface CosmosDbEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default CosmosDbEndpointProducerBuilder credentialType(org.apache.camel.component.azure.cosmosdb.CredentialType credentialType) {
+ default CosmosDbEndpointProducerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -1437,7 +1437,7 @@ public interface CosmosDbEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.cosmosdb.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
@@ -2003,7 +2003,7 @@ public interface CosmosDbEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.cosmosdb.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
@@ -2012,7 +2012,7 @@ public interface CosmosDbEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default CosmosDbEndpointBuilder credentialType(org.apache.camel.component.azure.cosmosdb.CredentialType credentialType) {
+ default CosmosDbEndpointBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -2020,7 +2020,7 @@ public interface CosmosDbEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.cosmosdb.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/DataLakeEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/DataLakeEndpointBuilderFactory.java
index cb0c3a1d1726..31c48c2a2935 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/DataLakeEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/DataLakeEndpointBuilderFactory.java
@@ -125,7 +125,8 @@ public interface DataLakeEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.datalake.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CLIENT_SECRET
* Group: common
@@ -133,7 +134,7 @@ public interface DataLakeEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default DataLakeEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.storage.datalake.CredentialType credentialType) {
+ default DataLakeEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -141,7 +142,8 @@ public interface DataLakeEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.storage.datalake.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CLIENT_SECRET
* Group: common
@@ -1549,7 +1551,8 @@ public interface DataLakeEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.datalake.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CLIENT_SECRET
* Group: common
@@ -1557,7 +1560,7 @@ public interface DataLakeEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default DataLakeEndpointProducerBuilder credentialType(org.apache.camel.component.azure.storage.datalake.CredentialType credentialType) {
+ default DataLakeEndpointProducerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -1565,7 +1568,8 @@ public interface DataLakeEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.storage.datalake.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CLIENT_SECRET
* Group: common
@@ -2409,7 +2413,8 @@ public interface DataLakeEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.datalake.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CLIENT_SECRET
* Group: common
@@ -2417,7 +2422,7 @@ public interface DataLakeEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default DataLakeEndpointBuilder credentialType(org.apache.camel.component.azure.storage.datalake.CredentialType credentialType) {
+ default DataLakeEndpointBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -2425,7 +2430,8 @@ public interface DataLakeEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.storage.datalake.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CLIENT_SECRET
* Group: common
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventHubsEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventHubsEndpointBuilderFactory.java
index 02680567f53b..e15214f8f945 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventHubsEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventHubsEndpointBuilderFactory.java
@@ -411,7 +411,8 @@ public interface EventHubsEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.eventhubs.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -419,7 +420,7 @@ public interface EventHubsEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default EventHubsEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.eventhubs.CredentialType credentialType) {
+ default EventHubsEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -427,7 +428,8 @@ public interface EventHubsEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.eventhubs.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -815,7 +817,8 @@ public interface EventHubsEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.eventhubs.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -823,7 +826,7 @@ public interface EventHubsEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default EventHubsEndpointProducerBuilder credentialType(org.apache.camel.component.azure.eventhubs.CredentialType credentialType) {
+ default EventHubsEndpointProducerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -831,7 +834,8 @@ public interface EventHubsEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.eventhubs.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -1061,7 +1065,8 @@ public interface EventHubsEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.eventhubs.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -1069,7 +1074,7 @@ public interface EventHubsEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default EventHubsEndpointBuilder credentialType(org.apache.camel.component.azure.eventhubs.CredentialType credentialType) {
+ default EventHubsEndpointBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -1077,7 +1082,8 @@ public interface EventHubsEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.eventhubs.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FilesEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FilesEndpointBuilderFactory.java
index 99e1de5ad63c..b1471cdd89c6 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FilesEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FilesEndpointBuilderFactory.java
@@ -47,7 +47,7 @@ public interface FilesEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.file.azure.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
@@ -56,7 +56,7 @@ public interface FilesEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default FilesEndpointConsumerBuilder credentialType(org.apache.camel.component.file.azure.CredentialType credentialType) {
+ default FilesEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -64,7 +64,7 @@ public interface FilesEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.file.azure.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
@@ -2721,7 +2721,7 @@ public interface FilesEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.file.azure.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
@@ -2730,7 +2730,7 @@ public interface FilesEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default FilesEndpointProducerBuilder credentialType(org.apache.camel.component.file.azure.CredentialType credentialType) {
+ default FilesEndpointProducerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -2738,7 +2738,7 @@ public interface FilesEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.file.azure.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
@@ -3727,7 +3727,7 @@ public interface FilesEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.file.azure.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
@@ -3736,7 +3736,7 @@ public interface FilesEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default FilesEndpointBuilder credentialType(org.apache.camel.component.file.azure.CredentialType credentialType) {
+ default FilesEndpointBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -3744,7 +3744,7 @@ public interface FilesEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.file.azure.CredentialType</code>
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
* type.
*
* Default: SHARED_ACCOUNT_KEY
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FunctionsEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FunctionsEndpointBuilderFactory.java
index 96f2b5528bee..3ca83a7ae4f6 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FunctionsEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FunctionsEndpointBuilderFactory.java
@@ -239,7 +239,8 @@ public interface FunctionsEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.functions.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: AZURE_IDENTITY
* Group: security
@@ -247,7 +248,7 @@ public interface FunctionsEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default FunctionsEndpointBuilder credentialType(org.apache.camel.component.azure.functions.CredentialType credentialType) {
+ default FunctionsEndpointBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -255,7 +256,8 @@ public interface FunctionsEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.functions.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: AZURE_IDENTITY
* Group: security
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeyVaultEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeyVaultEndpointBuilderFactory.java
index ebf5141c8284..d0a62e6267d1 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeyVaultEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeyVaultEndpointBuilderFactory.java
@@ -48,7 +48,8 @@ public interface KeyVaultEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.key.vault.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CLIENT_SECRET
* Group: common
@@ -56,7 +57,7 @@ public interface KeyVaultEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default KeyVaultEndpointBuilder credentialType(org.apache.camel.component.azure.key.vault.CredentialType credentialType) {
+ default KeyVaultEndpointBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -64,7 +65,8 @@ public interface KeyVaultEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.key.vault.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CLIENT_SECRET
* Group: common
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/QueueEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/QueueEndpointBuilderFactory.java
index e815dbedaa41..8108f8ec4ad2 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/QueueEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/QueueEndpointBuilderFactory.java
@@ -47,7 +47,8 @@ public interface QueueEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.queue.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: SHARED_ACCOUNT_KEY
* Group: common
@@ -55,7 +56,7 @@ public interface QueueEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default QueueEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.storage.queue.CredentialType credentialType) {
+ default QueueEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -63,7 +64,8 @@ public interface QueueEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.storage.queue.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: SHARED_ACCOUNT_KEY
* Group: common
@@ -1016,7 +1018,8 @@ public interface QueueEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.queue.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: SHARED_ACCOUNT_KEY
* Group: common
@@ -1024,7 +1027,7 @@ public interface QueueEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default QueueEndpointProducerBuilder credentialType(org.apache.camel.component.azure.storage.queue.CredentialType credentialType) {
+ default QueueEndpointProducerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -1032,7 +1035,8 @@ public interface QueueEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.storage.queue.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: SHARED_ACCOUNT_KEY
* Group: common
@@ -1451,7 +1455,8 @@ public interface QueueEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.storage.queue.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: SHARED_ACCOUNT_KEY
* Group: common
@@ -1459,7 +1464,7 @@ public interface QueueEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default QueueEndpointBuilder credentialType(org.apache.camel.component.azure.storage.queue.CredentialType credentialType) {
+ default QueueEndpointBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -1467,7 +1472,8 @@ public interface QueueEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.storage.queue.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: SHARED_ACCOUNT_KEY
* Group: common
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java
index 224041c80d48..aed8edbf5039 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java
@@ -545,7 +545,8 @@ public interface ServiceBusEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.servicebus.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -553,7 +554,7 @@ public interface ServiceBusEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default ServiceBusEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.servicebus.CredentialType credentialType) {
+ default ServiceBusEndpointConsumerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -561,7 +562,8 @@ public interface ServiceBusEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.servicebus.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -1153,7 +1155,8 @@ public interface ServiceBusEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.servicebus.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -1161,7 +1164,7 @@ public interface ServiceBusEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default ServiceBusEndpointProducerBuilder credentialType(org.apache.camel.component.azure.servicebus.CredentialType credentialType) {
+ default ServiceBusEndpointProducerBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -1169,7 +1172,8 @@ public interface ServiceBusEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.servicebus.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -1517,7 +1521,8 @@ public interface ServiceBusEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option is a:
- * <code>org.apache.camel.component.azure.servicebus.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security
@@ -1525,7 +1530,7 @@ public interface ServiceBusEndpointBuilderFactory {
* @param credentialType the value to set
* @return the dsl builder
*/
- default ServiceBusEndpointBuilder credentialType(org.apache.camel.component.azure.servicebus.CredentialType credentialType) {
+ default ServiceBusEndpointBuilder credentialType(org.apache.camel.component.azure.common.CredentialType credentialType) {
doSetProperty("credentialType", credentialType);
return this;
}
@@ -1533,7 +1538,8 @@ public interface ServiceBusEndpointBuilderFactory {
* Determines the credential strategy to adopt.
*
* The option will be converted to a
- * <code>org.apache.camel.component.azure.servicebus.CredentialType</code> type.
+ * <code>org.apache.camel.component.azure.common.CredentialType</code>
+ * type.
*
* Default: CONNECTION_STRING
* Group: security