Class AzureStorageQueueMessagingAutoConfiguration

java.lang.Object
com.azure.spring.cloud.autoconfigure.storage.AzureStorageQueueMessagingAutoConfiguration

@Configuration(proxyBeanMethods=false) @ConditionalOnClass(com.azure.spring.messaging.storage.queue.core.factory.StorageQueueClientFactory.class) @ConditionalOnProperty(value="spring.cloud.azure.storage.queue.enabled", havingValue="true", matchIfMissing=true) @ConditionalOnBean(com.azure.spring.cloud.autoconfigure.implementation.storage.queue.properties.AzureStorageQueueProperties.class) @AutoConfigureAfter(AzureStorageQueueAutoConfiguration.class) public class AzureStorageQueueMessagingAutoConfiguration extends Object
Auto-configuration for Spring Messaging Azure Storage Queue support.
Since:
4.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.spring.messaging.storage.queue.support.converter.StorageQueueMessageConverter
    Autoconfigure the StorageQueueMessageConverter instance.
    com.azure.spring.messaging.storage.queue.core.StorageQueueTemplate
    storageQueueTemplate(com.azure.spring.messaging.storage.queue.core.factory.StorageQueueClientFactory storageQueueClientFactory, com.azure.spring.messaging.storage.queue.support.converter.StorageQueueMessageConverter messageConverter)
    Autoconfigure the StorageQueueTemplate instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AzureStorageQueueMessagingAutoConfiguration

      public AzureStorageQueueMessagingAutoConfiguration()
  • Method Details

    • storageQueueTemplate

      @Bean @ConditionalOnMissingBean public com.azure.spring.messaging.storage.queue.core.StorageQueueTemplate storageQueueTemplate(com.azure.spring.messaging.storage.queue.core.factory.StorageQueueClientFactory storageQueueClientFactory, com.azure.spring.messaging.storage.queue.support.converter.StorageQueueMessageConverter messageConverter)
      Autoconfigure the StorageQueueTemplate instance.
      Parameters:
      storageQueueClientFactory - the storage queue client factory to create the storage queue clients for the template.
      messageConverter - the message converter used by the template.
      Returns:
      the storage queue template.
    • messageConverter

      @Bean @ConditionalOnMissingBean public com.azure.spring.messaging.storage.queue.support.converter.StorageQueueMessageConverter messageConverter()
      Autoconfigure the StorageQueueMessageConverter instance.
      Returns:
      the storage queue message converter.