Class SimpleJmsListenerContainerFactoryConfigurer

java.lang.Object
org.springframework.boot.jms.autoconfigure.AbstractJmsListenerContainerFactoryConfigurer<org.springframework.jms.config.SimpleJmsListenerContainerFactory>
org.springframework.boot.jms.autoconfigure.SimpleJmsListenerContainerFactoryConfigurer

public final class SimpleJmsListenerContainerFactoryConfigurer extends AbstractJmsListenerContainerFactoryConfigurer<org.springframework.jms.config.SimpleJmsListenerContainerFactory>
Configure SimpleJmsListenerContainerFactory with sensible defaults. In contrast to DefaultMessageListenerContainer that uses a pull-based mechanism (polling) to process messages, the SimpleMessageListenerContainer instances created by this factory use a push-based mechanism that's very close to the spirit of the standalone JMS specification.

As such, concurrency-related configuration properties from the spring.jms namespace are not taken into account by this implementation.

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

Since:
4.0.0
See Also:
  • Constructor Details

    • SimpleJmsListenerContainerFactoryConfigurer

      public SimpleJmsListenerContainerFactoryConfigurer()