Add a note about Redis customization

See gh-8894
This commit is contained in:
Stephane Nicoll 2017-06-14 15:43:39 +02:00
parent 017eb8e401
commit 4cb0a5cef3
1 changed files with 4 additions and 0 deletions

View File

@ -3310,6 +3310,10 @@ instance will attempt to connect to a Redis server using `localhost:6379`:
}
----
TIP: You can also register an arbitrary number of beans implementing
`JedisClientConfigurationBuilderCustomizer` for more advanced customizations. If you are
using Lettuce, `LettuceClientConfigurationBuilderCustomizer` is also available.
If you add a `@Bean` of your own of any of the auto-configured types it will replace the
default (except in the case of `RedisTemplate` the exclusion is based on the bean name
'`redisTemplate`' not its type). If `commons-pool2` is on the classpath you will get a