Skip to content

Commit

Permalink
#327 - Polishing.
Browse files Browse the repository at this point in the history
Add comment to configured bean.
  • Loading branch information
mp911de committed Nov 30, 2017
1 parent 19cf463 commit 627a08b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public LettuceConnectionFactory redisConnectionFactory() {
return new LettuceConnectionFactory();
}

/**
* Configures a {@link ReactiveRedisTemplate} with {@link String} keys and values.
*/
@Bean
public ReactiveRedisTemplate<String, String> reactiveRedisTemplate(ReactiveRedisConnectionFactory connectionFactory) {
return new ReactiveRedisTemplate<>(connectionFactory, RedisSerializationContext.string());
Expand Down

0 comments on commit 627a08b

Please sign in to comment.