Make rSocketServerBootstrap @ConditionalOnMissingBean

7857dd2d72 broke gateway's ability to override the `SocketAcceptor`.
This commit is contained in:
Spencer Gibb 2019-06-24 16:13:36 -04:00 committed by GitHub
parent 7405efa326
commit 2cb6af959b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ public class RSocketServerAutoConfiguration {
}
@Bean
@ConditionalOnMissingBean
public RSocketServerBootstrap rSocketServerBootstrap(RSocketServerFactory rSocketServerFactory,
RSocketMessageHandler rSocketMessageHandler) {
return new RSocketServerBootstrap(rSocketServerFactory, rSocketMessageHandler.serverAcceptor());