Class RedisReactiveAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.data.redis.RedisReactiveAutoConfiguration

@Configuration(proxyBeanMethods=false) @ConditionalOnClass({org.springframework.data.redis.connection.ReactiveRedisConnectionFactory.class,org.springframework.data.redis.core.ReactiveRedisTemplate.class,reactor.core.publisher.Flux.class}) @AutoConfigureAfter(RedisAutoConfiguration.class) public class RedisReactiveAutoConfiguration extends Object
Auto-configuration for Spring Data's reactive Redis support.
Since:
2.0.0
Author:
Mark Paluch, Stephane Nicoll
  • Constructor Details

    • RedisReactiveAutoConfiguration

      public RedisReactiveAutoConfiguration()
  • Method Details

    • reactiveRedisTemplate

      @Bean @ConditionalOnMissingBean(name="reactiveRedisTemplate") @ConditionalOnBean(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory.class) public org.springframework.data.redis.core.ReactiveRedisTemplate<Object,Object> reactiveRedisTemplate(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory reactiveRedisConnectionFactory, ResourceLoader resourceLoader)
    • reactiveStringRedisTemplate

      @Bean @ConditionalOnMissingBean(name="reactiveStringRedisTemplate") @ConditionalOnBean(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory.class) public org.springframework.data.redis.core.ReactiveStringRedisTemplate reactiveStringRedisTemplate(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory reactiveRedisConnectionFactory)