@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 |
---|---|
org.springframework.messaging.rsocket.RSocketRequester.Builder |
rSocketRequesterBuilder(org.springframework.messaging.rsocket.RSocketStrategies strategies) |
@Bean @Scope(value="prototype") @ConditionalOnMissingBean public org.springframework.messaging.rsocket.RSocketRequester.Builder rSocketRequesterBuilder(org.springframework.messaging.rsocket.RSocketStrategies strategies)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.