Class AbstractJmsListenerContainerFactoryConfigurer<T extends 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 AbstractJmsListenerContainerFactory<?>>
extends Object
Configure common A
A
An
An
Configuration properties of the
JmsListenerContainerFactory settings with sensible defaults.
This includes:
DestinationResolver is such a component is present.MessageConverter is such a component is present.ExceptionListener is such a component is present.ObservationRegistry is such a component is present.spring.jms namespace that are common to all
implementations.- Since:
- 4.1.0
- Author:
- Stephane Nicoll, EddĂș MelĂ©ndez, Vedran Pavic, Lasse Wulff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(T factory, ConnectionFactory connectionFactory) Configure 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
-