Class AzureStorageQueueAutoConfiguration

java.lang.Object
com.azure.spring.cloud.autoconfigure.storage.queue.AzureStorageQueueAutoConfiguration

@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties @ConditionalOnClass(com.azure.storage.queue.QueueServiceClientBuilder.class) @ConditionalOnProperty(value={"spring.cloud.azure.storage.queue.enabled","spring.cloud.azure.storage.enabled"}, havingValue="true", matchIfMissing=true) @ConditionalOnAnyProperty(prefixes={"spring.cloud.azure.storage.queue","spring.cloud.azure.storage"}, name={"account-name","endpoint","connection-string"}) @Import(AzureStorageConfiguration.class) public class AzureStorageQueueAutoConfiguration extends Object
Auto-configuration for Azure Storage Queue support.
Since:
4.0.0
  • Constructor Details

    • AzureStorageQueueAutoConfiguration

      public AzureStorageQueueAutoConfiguration()
  • Method Details

    • queueServiceClient

      @Bean @ConditionalOnMissingBean public com.azure.storage.queue.QueueServiceClient queueServiceClient(com.azure.storage.queue.QueueServiceClientBuilder builder)
      Autoconfigure the QueueServiceClient instance.
      Parameters:
      builder - the QueueServiceClientBuilder to build the instance.
      Returns:
      the queue service client.
    • queueServiceAsyncClient

      @Bean @ConditionalOnMissingBean public com.azure.storage.queue.QueueServiceAsyncClient queueServiceAsyncClient(com.azure.storage.queue.QueueServiceClientBuilder builder)
      Autoconfigure the QueueServiceAsyncClient instance.
      Parameters:
      builder - the QueueServiceClientBuilder to build the instance.
      Returns:
      the queue service async client.