Class ServiceBusJmsContainerConfiguration

java.lang.Object
com.azure.spring.cloud.autoconfigure.jms.ServiceBusJmsContainerConfiguration

@Configuration(proxyBeanMethods=false) @ConditionalOnClass(org.springframework.jms.annotation.EnableJms.class) public class ServiceBusJmsContainerConfiguration extends Object
Abstract autoconfiguration class of ServiceBusJMS for JmsListenerContainerFactory.
  • Constructor Details

  • Method Details

    • jmsListenerContainerFactory

      @Bean @ConditionalOnMissingBean public org.springframework.jms.config.JmsListenerContainerFactory<?> jmsListenerContainerFactory(org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer configurer, jakarta.jms.ConnectionFactory connectionFactory)
      Autoconfigure the JmsListenerContainerFactory for Service Bus queues.
      Parameters:
      configurer - the configurer to configure the container factory.
      connectionFactory - the connection factory for the container factory.
      Returns:
      the jms listener container factory for Service Bus queues.
    • topicJmsListenerContainerFactory

      @Bean @ConditionalOnMissingBean(name="topicJmsListenerContainerFactory") public org.springframework.jms.config.JmsListenerContainerFactory<?> topicJmsListenerContainerFactory(org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer configurer, jakarta.jms.ConnectionFactory connectionFactory)
      Autoconfigure the JmsListenerContainerFactory for Service Bus topics.
      Parameters:
      configurer - the configurer to configure the container factory.
      connectionFactory - the connection factory for the container factory.
      Returns:
      the jms listener container factory for Service Bus topics.