@FunctionalInterface
public interface JmsListenerConfigurer
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.
EnableJms
,
JmsListenerEndpointRegistrar
Modifier and Type | Method and Description |
---|---|
void |
configureJmsListeners(JmsListenerEndpointRegistrar registrar)
Callback allowing a
JmsListenerEndpointRegistry and specific JmsListenerEndpoint instances to be registered against the given
JmsListenerEndpointRegistrar . |
void configureJmsListeners(JmsListenerEndpointRegistrar registrar)
JmsListenerEndpointRegistry
and specific JmsListenerEndpoint
instances to be registered against the given
JmsListenerEndpointRegistrar
. The default
JmsListenerContainerFactory
can also be customized.registrar
- the registrar to be configured