Interface PulsarListenerConfigurer
public interface PulsarListenerConfigurer
Optional interface to be implemented by Spring managed bean willing to customize how
Pulsar listener endpoints are configured. Typically used to define the default
PulsarListenerContainerFactory to use or for registering Pulsar endpoints in a
programmatic fashion as opposed to the declarative approach of using
the PulsarListener annotation.- Author:
- Soby Chacko, Chris Bono
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidCallback allowing aPulsarListenerEndpointRegistryand specificPulsarListenerEndpointinstances to be registered against the givenPulsarListenerEndpointRegistrar.
-
Method Details
-
configurePulsarListeners
Callback allowing aPulsarListenerEndpointRegistryand specificPulsarListenerEndpointinstances to be registered against the givenPulsarListenerEndpointRegistrar. The defaultPulsarListenerContainerFactorycan also be customized.- Parameters:
registrar- the registrar to be configured
-