Skip to content

Auto-configure ReactiveStringRedisTemplate if necessary #16604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from

Conversation

dlmu-lq
Copy link
Contributor

@dlmu-lq dlmu-lq commented Apr 19, 2019

…AutoConfiguration

Like the @Bean-annotated method stringRedisTemplate() in @Configuration-annotated class RedisAutoConfiguration, add a @Bean-annotated method reactiveStringRedisTemplate() in class RedisReactiveAutoConfiguration, which avoids unnecessary repeated configuration when used in different applications.

…AutoConfiguration

Like the @Bean-annotated method {stringRedisTemplate()} in @Configuration-annotated class RedisAutoConfiguration, add a @Bean-annotated method {reactiveRedisTemplate()} in class RedisReactiveAutoConfiguration, which avoids unnecessary repeated configuration when used in different applications.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 19, 2019
dlmu-lq added 2 commits April 19, 2019 15:20
…AutoConfiguration

Like the @Bean-annotated method {stringRedisTemplate()} in @Configuration-annotated class RedisAutoConfiguration, add a @Bean-annotated method {reactiveRedisTemplate()} in class RedisReactiveAutoConfiguration, which avoids unnecessary repeated configuration when used in different applications.
@dlmu-lq dlmu-lq closed this Apr 19, 2019
@dlmu-lq dlmu-lq reopened this Apr 23, 2019
@snicoll snicoll changed the title Instantiate default ReactiveStringRedisTemplate bean in RedisReactive… Auto-configure ReactiveStringRedisTemplate if necessary Apr 30, 2019
@snicoll snicoll self-assigned this Apr 30, 2019
@snicoll snicoll added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 30, 2019
@snicoll snicoll added this to the 2.2.0.M3 milestone Apr 30, 2019
@snicoll snicoll closed this in 922ceed Apr 30, 2019
snicoll added a commit that referenced this pull request Apr 30, 2019
* pr/16604:
  Polish "Auto-configure ReactiveStringRedisTemplate if necessary"
  Auto-configure ReactiveStringRedisTemplate if necessary
@snicoll
Copy link
Member

snicoll commented Apr 30, 2019

@dlmu-lq thank you for making your first contribution to Spring Boot. This is now merged in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants