@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={io.rsocket.RSocketFactory.class,org.springframework.messaging.rsocket.RSocketStrategies.class,reactor.netty.http.server.HttpServer.class,io.rsocket.transport.netty.server.TcpServerTransport.class}) @ConditionalOnBean(value=org.springframework.messaging.rsocket.annotation.support.RSocketMessageHandler.class) @AutoConfigureAfter(value=RSocketStrategiesAutoConfiguration.class) @EnableConfigurationProperties(value=RSocketProperties.class) public class RSocketServerAutoConfiguration extends Object
Auto-configuration
for RSocket servers. In the case of
WebApplicationType.REACTIVE
, the RSocket server is
added as a WebSocket endpoint on the existing
NettyWebServer
. If a specific
server port is configured, a new standalone RSocket server is created.