Class DefaultJmsListenerContainerFactoryConfigurer
java.lang.Object
org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer
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
- 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) 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
-
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 privateSet 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
-