Class ReactivePulsarListenerAnnotationBeanPostProcessor<V>

java.lang.Object
org.springframework.pulsar.annotation.AbstractPulsarAnnotationsBeanPostProcessor
org.springframework.pulsar.reactive.config.annotation.ReactivePulsarListenerAnnotationBeanPostProcessor<V>
Type Parameters:
V - the payload type.
All Implemented Interfaces:
Aware, BeanPostProcessor, InitializingBean, SmartInitializingSingleton, ApplicationContextAware, Ordered

public class ReactivePulsarListenerAnnotationBeanPostProcessor<V> extends AbstractPulsarAnnotationsBeanPostProcessor implements SmartInitializingSingleton
Bean post-processor that registers methods annotated with ReactivePulsarListener to be invoked by a Pulsar message listener container created under the covers by a ReactivePulsarListenerContainerFactory according to the parameters of the annotation.

Annotated methods can use flexible arguments as defined by ReactivePulsarListener.

This post-processor is automatically registered by the EnableReactivePulsar annotation.

Auto-detect any PulsarListenerConfigurer instances in the container, allowing for customization of the registry to be used, the default container factory or for fine-grained control over endpoints registration. See EnableReactivePulsar Javadoc for complete usage details.

Author:
Christophe Bornet, Soby Chacko
See Also: