@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.springframework.messaging.rsocket.RSocketRequester.class,io.rsocket.RSocketFactory.class,reactor.netty.http.server.HttpServer.class,io.rsocket.transport.netty.server.TcpServerTransport.class}) @AutoConfigureAfter(value=RSocketStrategiesAutoConfiguration.class) public class RSocketRequesterAutoConfiguration extends Object
Auto-configuration
for
RSocketRequester
. This auto-configuration
creates RSocketRequester.Builder
prototype beans, as the builders are stateful and should not be reused to build
requester instances with different configurations.Constructor and Description |
---|
RSocketRequesterAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
RSocketRequester.Builder |
rsocketRequesterBuilder(RSocketStrategies strategies) |
@Bean @Scope(value="prototype") @ConditionalOnMissingBean public RSocketRequester.Builder rsocketRequesterBuilder(RSocketStrategies strategies)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.