Class AbstractJmsListenerContainerFactoryConfigurer<T extends org.springframework.jms.config.AbstractJmsListenerContainerFactory<?>>

java.lang.Object
org.springframework.boot.jms.autoconfigure.AbstractJmsListenerContainerFactoryConfigurer<T>
Type Parameters:
T - the connection factory type.
Direct Known Subclasses:
DefaultJmsListenerContainerFactoryConfigurer, SimpleJmsListenerContainerFactoryConfigurer

public abstract class AbstractJmsListenerContainerFactoryConfigurer<T extends org.springframework.jms.config.AbstractJmsListenerContainerFactory<?>> extends Object
Configure common JmsListenerContainerFactory settings with sensible defaults.

This includes:

  • A DestinationResolver is such a component is present.
  • A MessageConverter is such a component is present.
  • An ExceptionListener is such a component is present.
  • An ObservationRegistry is such a component is present.
  • Configuration properties of the spring.jms namespace that are common to all implementations.
Since:
4.1.0
  • Constructor Details

    • AbstractJmsListenerContainerFactoryConfigurer

      public AbstractJmsListenerContainerFactoryConfigurer()
  • Method Details

    • getJmsProperties

      protected JmsProperties getJmsProperties()
      Return the JmsProperties.
      Returns:
      the jms properties
    • configure

      public void configure(T factory, jakarta.jms.ConnectionFactory connectionFactory)
      Configure the specified jms listener container factory. The factory can be further tuned and default settings can be overridden.
      Parameters:
      factory - the AbstractJmsListenerContainerFactory instance to configure
      connectionFactory - the ConnectionFactory to use