Skip to content

Commit 6c926f7

Browse files
committed
Merge pull request #21769 from tszmytka
* pr/21769: Back-off if a custom ReactiveSessionFactory is defined Closes gh-21769
2 parents 9ef9b63 + 8890660 commit 6c926f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraReactiveDataAutoConfiguration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public ReactiveSession reactiveCassandraSession(CqlSession session) {
5555
}
5656

5757
@Bean
58+
@ConditionalOnMissingBean
5859
public ReactiveSessionFactory reactiveCassandraSessionFactory(ReactiveSession reactiveCassandraSession) {
5960
return new DefaultReactiveSessionFactory(reactiveCassandraSession);
6061
}

0 commit comments

Comments
 (0)