Interface AzureServiceBusJmsConnectionFactoryFactory

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AzureServiceBusJmsConnectionFactoryFactory
Defines how a ServiceBusJmsConnectionFactory instance is created.

Provide this interface as a Spring bean to customize creation of ServiceBusJmsConnectionFactory (or a subclass).

The factory can be invoked multiple times in one application context (for example sender and listener container paths). Implementations should return a new ServiceBusJmsConnectionFactory instance per invocation, or otherwise ensure the returned instance is safe to share.

  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.servicebus.jms.ServiceBusJmsConnectionFactory
    Creates an instance of ServiceBusJmsConnectionFactory or a subclass thereof.
  • Method Details

    • createServiceBusJmsConnectionFactory

      com.azure.servicebus.jms.ServiceBusJmsConnectionFactory createServiceBusJmsConnectionFactory()
      Creates an instance of ServiceBusJmsConnectionFactory or a subclass thereof.
      Returns:
      an instance of ServiceBusJmsConnectionFactory