Class DefaultJmsListenerContainerFactoryConfigurer

java.lang.Object
org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer

public final class DefaultJmsListenerContainerFactoryConfigurer extends Object
Configure DefaultJmsListenerContainerFactory with sensible defaults tuned using configuration properties.

Can be injected into application code and used to define a custom DefaultJmsListenerContainerFactory whose configuration is based upon that produced by auto-configuration.

Since:
1.3.3
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(org.springframework.jms.config.DefaultJmsListenerContainerFactory factory, jakarta.jms.ConnectionFactory connectionFactory)
    Configure the specified jms listener container factory.
    void
    setObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry)
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 3.3.10 for removal in 4.0.0 as this should have been package private

    Methods inherited from class java.lang.Object

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

    • DefaultJmsListenerContainerFactoryConfigurer

      public DefaultJmsListenerContainerFactoryConfigurer()
  • Method Details

    • setObservationRegistry

      @Deprecated(since="3.3.10", forRemoval=true) public void setObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 3.3.10 for removal in 4.0.0 as this should have been package private
      Set the ObservationRegistry to use.
      Parameters:
      observationRegistry - the ObservationRegistry
      Since:
      3.2.1
    • configure

      public void configure(org.springframework.jms.config.DefaultJmsListenerContainerFactory 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 DefaultJmsListenerContainerFactory instance to configure
      connectionFactory - the ConnectionFactory to use