Class RedisListenerBootstrapConfiguration
java.lang.Object
org.springframework.data.redis.config.RedisListenerBootstrapConfiguration
@Configuration(proxyBeanMethods=false)
@Role(2)
public class RedisListenerBootstrapConfiguration
extends Object
@Configuration class that registers a RedisListenerAnnotationBeanPostProcessor bean capable of
processing Spring's @RedisListener annotation. Also registers a default
RedisListenerEndpointRegistry.
This configuration class is automatically imported when using the @EnableRedisListeners annotation. See the
@EnableRedisListeners for complete usage details.
- Since:
- 4.1
- Author:
- Ilyass Bougati, Mark Paluch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
RedisListenerBootstrapConfiguration
public RedisListenerBootstrapConfiguration()
-
-
Method Details
-
redisListenerAnnotationBeanPostProcessor
@Bean(name="org.springframework.data.redis.config.internalRedisListenerAnnotationProcessor") @Role(2) public RedisListenerAnnotationBeanPostProcessor redisListenerAnnotationBeanPostProcessor() -
redisListenerEndpointRegistry
@Bean(name="org.springframework.data.redis.config.internalRedisListenerEndpointRegistry") @Role(2) public RedisListenerEndpointRegistry redisListenerEndpointRegistry()
-