spring-framework / org.springframework.jms.annotation / JmsListenerConfigurer

JmsListenerConfigurer

@FunctionalInterface interface JmsListenerConfigurer

Optional interface to be implemented by a Spring managed bean willing to customize how JMS listener endpoints are configured. Typically used to define the default org.springframework.jms.config.JmsListenerContainerFactory to use or for registering JMS endpoints in a programmatic fashion as opposed to the declarative approach of using the @JmsListener annotation.

See @EnableJms for detailed usage examples.

Author
Stephane Nicoll

Since
4.1

See Also
EnableJmsJmsListenerEndpointRegistrar

Functions

configureJmsListeners

abstract fun configureJmsListeners(registrar: JmsListenerEndpointRegistrar): Unit

Callback allowing a org.springframework.jms.config.JmsListenerEndpointRegistry and specific org.springframework.jms.config.JmsListenerEndpoint instances to be registered against the given JmsListenerEndpointRegistrar. The default org.springframework.jms.config.JmsListenerContainerFactory can also be customized.