Class RSocketOutboundGatewaySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
 
org.springframework.integration.dsl.MessageHandlerSpec<RSocketOutboundGatewaySpec,RSocketOutboundGateway>
 
org.springframework.integration.rsocket.dsl.RSocketOutboundGatewaySpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<RSocketOutboundGateway>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle
public class RSocketOutboundGatewaySpec
extends MessageHandlerSpec<RSocketOutboundGatewaySpec,RSocketOutboundGateway> 
The 
MessageHandlerSpec implementation for the RSocketOutboundGateway.- Since:
- 5.2
- Author:
- Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedRSocketOutboundGatewaySpec(String route, Object... routeVariables) protectedRSocketOutboundGatewaySpec(Expression routeExpression) 
- 
Method SummaryModifier and TypeMethodDescriptionclientRSocketConnector(ClientRSocketConnector clientRSocketConnector) Configure aClientRSocketConnectorfor client side requests based on the connection provided by theClientRSocketConnector.getRequester().expectedResponseType(Class<?> expectedResponseType) Specify the expected response type for the RSocket response.expectedResponseType(String expectedResponseTypeExpression) Specify theExpressionto determine the type for the RSocket response.expectedResponseType(Function<Message<P>, ?> expectedResponseTypeFunction) Specify theFunctionto determine the type for the RSocket response.expectedResponseType(Expression expectedResponseTypeExpression) Specify anExpressionto determine the type for the RSocket response.interactionModel(String interactionModelExpression) Configure a SpEL expression to evaluate anRSocketInteractionModelfor the RSocket request type at runtime against a request message.interactionModel(Function<Message<P>, ?> interactionModelFunction) Configure aFunctionto evaluate anRSocketInteractionModelfor the RSocket request type at runtime against a request message.interactionModel(Expression interactionModelExpression) Configure a SpEL expression to evaluate anRSocketInteractionModelfor the RSocket request type at runtime against a request message.interactionModel(RSocketInteractionModel interactionModel) Configure anRSocketInteractionModelfor the RSocket request type.Configure a SpEL expression to evaluate a metadata as aMap<Object, MimeType>for the RSocket request against request message.Configure aFunctionto evaluate a metadata as aMap<Object, MimeType>for RSocket request against request message.metadata(Expression metadataExpression) Configure a SpEL expression to evaluate a metadata as aMap<Object, MimeType>for the RSocket request type at runtime against a request message.publisherElementType(Class<?> publisherElementType) Configure a type for a requestPublisherelements.publisherElementType(String publisherElementTypeExpression) Configure a SpEL expression to evaluate a requestPublisherelements type at runtime against a request message.publisherElementType(Function<Message<P>, ?> publisherElementTypeFunction) Configure aFunctionto evaluate a requestPublisherelements type at runtime against a request message.publisherElementType(Expression publisherElementTypeExpression) Configure a SpEL expression to evaluate a requestPublisherelements type at runtime against a request message.Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
RSocketOutboundGatewaySpec
- 
RSocketOutboundGatewaySpec
 
- 
- 
Method Details- 
clientRSocketConnectorpublic RSocketOutboundGatewaySpec clientRSocketConnector(ClientRSocketConnector clientRSocketConnector) Configure aClientRSocketConnectorfor client side requests based on the connection provided by theClientRSocketConnector.getRequester().- Parameters:
- clientRSocketConnector- the- ClientRSocketConnectorto use.
- Returns:
- the spec
- See Also:
 
- 
interactionModelConfigure anRSocketInteractionModelfor the RSocket request type.- Parameters:
- interactionModel- the- RSocketInteractionModelto use.
- Returns:
- the spec
- Since:
- 5.2.2
- See Also:
 
- 
interactionModelpublic <P> RSocketOutboundGatewaySpec interactionModel(Function<Message<P>, ?> interactionModelFunction) Configure aFunctionto evaluate anRSocketInteractionModelfor the RSocket request type at runtime against a request message.- Type Parameters:
- P- the expected request message payload type.
- Parameters:
- interactionModelFunction- the- Functionto use.
- Returns:
- the spec
- Since:
- 5.2.2
- See Also:
 
- 
interactionModelConfigure a SpEL expression to evaluate anRSocketInteractionModelfor the RSocket request type at runtime against a request message.- Parameters:
- interactionModelExpression- the SpEL expression to use.
- Returns:
- the spec
- Since:
- 5.2.2
- See Also:
 
- 
interactionModelConfigure a SpEL expression to evaluate anRSocketInteractionModelfor the RSocket request type at runtime against a request message.- Parameters:
- interactionModelExpression- the SpEL expression to use.
- Returns:
- the spec
- Since:
- 5.2.2
- See Also:
 
- 
publisherElementTypeConfigure a type for a requestPublisherelements.- Parameters:
- publisherElementType- the type of the request- Publisherelements.
- Returns:
- the spec
- See Also:
 
- 
publisherElementTypepublic <P> RSocketOutboundGatewaySpec publisherElementType(Function<Message<P>, ?> publisherElementTypeFunction) Configure aFunctionto evaluate a requestPublisherelements type at runtime against a request message.- Type Parameters:
- P- the expected request message payload type.
- Parameters:
- publisherElementTypeFunction- the- Functionto evaluate a type for the request- Publisherelements.
- Returns:
- the spec
- See Also:
 
- 
publisherElementTypeConfigure a SpEL expression to evaluate a requestPublisherelements type at runtime against a request message.- Parameters:
- publisherElementTypeExpression- the expression to evaluate a type for the request- Publisherelements.
- Returns:
- the spec
- See Also:
 
- 
publisherElementTypeConfigure a SpEL expression to evaluate a requestPublisherelements type at runtime against a request message.- Parameters:
- publisherElementTypeExpression- the expression to evaluate a type for the request- Publisherelements.
- Returns:
- the spec
- See Also:
 
- 
expectedResponseTypeSpecify the expected response type for the RSocket response.- Parameters:
- expectedResponseType- The expected type.
- Returns:
- the spec
- See Also:
 
- 
expectedResponseTypepublic <P> RSocketOutboundGatewaySpec expectedResponseType(Function<Message<P>, ?> expectedResponseTypeFunction) Specify theFunctionto determine the type for the RSocket response.- Type Parameters:
- P- the expected request message payload type.
- Parameters:
- expectedResponseTypeFunction- The expected response type- Function.
- Returns:
- the spec
- See Also:
 
- 
expectedResponseTypeSpecify theExpressionto determine the type for the RSocket response.- Parameters:
- expectedResponseTypeExpression- The expected response type expression.
- Returns:
- the spec
- See Also:
 
- 
expectedResponseTypeSpecify anExpressionto determine the type for the RSocket response.- Parameters:
- expectedResponseTypeExpression- The expected response type expression.
- Returns:
- the spec
- See Also:
 
- 
metadatapublic <P> RSocketOutboundGatewaySpec metadata(Function<Message<P>, Map<Object, MimeType>> metadataFunction) Configure aFunctionto evaluate a metadata as aMap<Object, MimeType>for RSocket request against request message.- Type Parameters:
- P- the expected request message payload type.
- Parameters:
- metadataFunction- the- Functionto use.
- Returns:
- the spec
- See Also:
 
- 
metadataConfigure a SpEL expression to evaluate a metadata as aMap<Object, MimeType>for the RSocket request against request message.- Parameters:
- metadataExpression- the SpEL expression to use.
- Returns:
- the spec
- See Also:
 
- 
metadataConfigure a SpEL expression to evaluate a metadata as aMap<Object, MimeType>for the RSocket request type at runtime against a request message.- Parameters:
- metadataExpression- the SpEL expression to use.
- Returns:
- the spec
- See Also:
 
 
-