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
DestinationResolveris such a component is present. - A
MessageConverteris such a component is present. - An
ExceptionListeneris such a component is present. - An
ObservationRegistryis such a component is present. - Configuration properties of the
spring.jmsnamespace that are common to all implementations.
- Since:
- 4.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConfigure the specified jms listener container factory.protected JmsPropertiesReturn theJmsProperties.
-
Constructor Details
-
AbstractJmsListenerContainerFactoryConfigurer
public AbstractJmsListenerContainerFactoryConfigurer()
-
-
Method Details
-
getJmsProperties
-
configure
Configure the specified jms listener container factory. The factory can be further tuned and default settings can be overridden.- Parameters:
factory- theAbstractJmsListenerContainerFactoryinstance to configureconnectionFactory- theConnectionFactoryto use
-