Class RedisListenerAnnotationBeanPostProcessor

java.lang.Object
org.springframework.data.redis.annotation.RedisListenerAnnotationBeanPostProcessor
All Implemented Interfaces:
Aware, BeanFactoryAware, BeanPostProcessor, SmartInitializingSingleton, Ordered

public class RedisListenerAnnotationBeanPostProcessor extends Object implements BeanPostProcessor, BeanFactoryAware, Ordered, SmartInitializingSingleton
Bean post-processor that registers methods annotated with RedisListener to be subscribed to a Redis message listener container according to the attributes of the annotation.

Annotated methods can use flexible arguments as defined by RedisListener.

This post-processor is automatically registered by Spring's by the EnableRedisListeners annotation.

See the EnableRedisListeners javadocs for complete usage details.

Since:
4.1
Author:
Ilyass Bougati, Mark Paluch, Christoph Strobl
See Also: