@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.springframework.messaging.rsocket.RSocketRequester.class,io.rsocket.RSocket.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,
ObjectProvider<RSocketConnectorConfigurer> connectorConfigurers) |
@Bean @Scope(value="prototype") @ConditionalOnMissingBean public RSocketRequester.Builder rSocketRequesterBuilder(RSocketStrategies strategies, ObjectProvider<RSocketConnectorConfigurer> connectorConfigurers)