Class DefaultJmsListenerContainerFactoryConfigurer
java.lang.Object
org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer
Configure
DefaultJmsListenerContainerFactory
with sensible defaults.- Since:
- 1.3.3
- Author:
- Stephane Nicoll, EddĂș MelĂ©ndez, Vedran Pavic, Lasse Wulff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(DefaultJmsListenerContainerFactory factory, ConnectionFactory connectionFactory) Configure the specified jms listener container factory.void
setObservationRegistry
(io.micrometer.observation.ObservationRegistry observationRegistry) Set theObservationRegistry
to use.
-
Constructor Details
-
DefaultJmsListenerContainerFactoryConfigurer
public DefaultJmsListenerContainerFactoryConfigurer()
-
-
Method Details
-
setObservationRegistry
public void setObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) Set theObservationRegistry
to use.- Parameters:
observationRegistry
- theObservationRegistry
- Since:
- 3.2.1
-
configure
public void configure(DefaultJmsListenerContainerFactory factory, ConnectionFactory connectionFactory) Configure the specified jms listener container factory. The factory can be further tuned and default settings can be overridden.- Parameters:
factory
- theDefaultJmsListenerContainerFactory
instance to configureconnectionFactory
- theConnectionFactory
to use
-