Class AzureServiceBusMessagingAutoConfiguration.ServiceBusTemplateConfiguration

java.lang.Object
com.azure.spring.cloud.autoconfigure.servicebus.AzureServiceBusMessagingAutoConfiguration.ServiceBusTemplateConfiguration
Enclosing class:
AzureServiceBusMessagingAutoConfiguration

@Configuration(proxyBeanMethods=false) public static class AzureServiceBusMessagingAutoConfiguration.ServiceBusTemplateConfiguration extends Object
Configure the ServiceBusTemplate
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.spring.messaging.servicebus.core.ServiceBusProducerFactory
    defaultServiceBusNamespaceProducerFactory(com.azure.spring.messaging.servicebus.core.properties.NamespaceProperties properties, org.springframework.beans.factory.ObjectProvider<com.azure.spring.messaging.PropertiesSupplier<String,com.azure.spring.messaging.servicebus.core.properties.ProducerProperties>> suppliers)
    Creates a default Service Bus namespace producer factory.
    com.azure.spring.messaging.servicebus.support.converter.ServiceBusMessageConverter
    Creates a Service Bus message converter.
    com.azure.spring.messaging.servicebus.core.ServiceBusTemplate
    serviceBusTemplate(com.azure.spring.messaging.servicebus.core.ServiceBusProducerFactory senderClientfactory, com.azure.spring.messaging.servicebus.support.converter.ServiceBusMessageConverter messageConverter)
    Creates a Service Bus template.

    Methods inherited from class java.lang.Object

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

    • ServiceBusTemplateConfiguration

      public ServiceBusTemplateConfiguration()
  • Method Details

    • defaultServiceBusNamespaceProducerFactory

      @Bean @ConditionalOnMissingBean public com.azure.spring.messaging.servicebus.core.ServiceBusProducerFactory defaultServiceBusNamespaceProducerFactory(com.azure.spring.messaging.servicebus.core.properties.NamespaceProperties properties, org.springframework.beans.factory.ObjectProvider<com.azure.spring.messaging.PropertiesSupplier<String,com.azure.spring.messaging.servicebus.core.properties.ProducerProperties>> suppliers)
      Creates a default Service Bus namespace producer factory.
      Parameters:
      properties - Service Bus namespace properties.
      suppliers - ObjectProvider suppliers.
      Returns:
      A default Service Bus namespace producer factory.
    • serviceBusMessageConverter

      @Bean @ConditionalOnMissingBean public com.azure.spring.messaging.servicebus.support.converter.ServiceBusMessageConverter serviceBusMessageConverter()
      Creates a Service Bus message converter.
      Returns:
      A Service Bus message converter.
    • serviceBusTemplate

      @Bean @ConditionalOnMissingBean @ConditionalOnBean(com.azure.spring.messaging.servicebus.core.ServiceBusProducerFactory.class) public com.azure.spring.messaging.servicebus.core.ServiceBusTemplate serviceBusTemplate(com.azure.spring.messaging.servicebus.core.ServiceBusProducerFactory senderClientfactory, com.azure.spring.messaging.servicebus.support.converter.ServiceBusMessageConverter messageConverter)
      Creates a Service Bus template.
      Parameters:
      senderClientfactory - A Service Bus producer factory.
      messageConverter - A Service Bus message converter.
      Returns:
      A Service Bus template.