Class RSockets
java.lang.Object
org.springframework.integration.rsocket.dsl.RSockets
The RSocket components Factory.
- Since:
- 5.2
- Author:
- Artem Bilan
- 
Method SummaryModifier and TypeMethodDescriptionstatic RSocketInboundGatewaySpecinboundGateway(String... path) Create anRSocketInboundGatewaySpecbuilder for request-reply reactive gateway based on the providedpatharray for mapping.static RSocketOutboundGatewaySpecoutboundGateway(String route, Object... routeVariables) Create anRSocketOutboundGatewaySpecbuilder for request-reply gateway based on providedrouteand optional variables to expand route template.static <P> RSocketOutboundGatewaySpecoutboundGateway(Function<Message<P>, ?> routeFunction) Create anRSocketOutboundGatewaySpecbuilder for request-reply gateway based on providedFunctionto evaluate targetrouteagainst request message.static RSocketOutboundGatewaySpecoutboundGateway(Expression routeExpression) Create anRSocketOutboundGatewaySpecbuilder for request-reply gateway based on provided SpELExpressionto evaluate targetrouteagainst request message.
- 
Method Details- 
outboundGatewayCreate anRSocketOutboundGatewaySpecbuilder for request-reply gateway based on providedrouteand optional variables to expand route template.- Parameters:
- route- the- routeto send requests.
- routeVariables- the variables to expand route template.
- Returns:
- the RSocketOutboundGatewaySpec instance
 
- 
outboundGatewayCreate anRSocketOutboundGatewaySpecbuilder for request-reply gateway based on providedFunctionto evaluate targetrouteagainst request message.- Type Parameters:
- P- the expected payload type.
- Parameters:
- routeFunction- the- Functionto evaluate- routeat runtime.
- Returns:
- the RSocketOutboundGatewaySpec instance
 
- 
outboundGatewayCreate anRSocketOutboundGatewaySpecbuilder for request-reply gateway based on provided SpELExpressionto evaluate targetrouteagainst request message.- Parameters:
- routeExpression- the SpEL- Expressionto evaluate- routeat runtime.
- Returns:
- the RSocketOutboundGatewaySpec instance
 
- 
inboundGatewayCreate anRSocketInboundGatewaySpecbuilder for request-reply reactive gateway based on the providedpatharray for mapping.- Parameters:
- path- the path mapping URIs (e.g. "/myPath.do").
- Returns:
- the RSocketInboundGatewaySpec instance
 
 
-