Class RSocketOutboundGatewaySpec

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,​H>
org.springframework.integration.dsl.MessageHandlerSpec<RSocketOutboundGatewaySpec,​RSocketOutboundGateway>
org.springframework.integration.rsocket.dsl.RSocketOutboundGatewaySpec
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<RSocketOutboundGateway>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class RSocketOutboundGatewaySpec
extends org.springframework.integration.dsl.MessageHandlerSpec<RSocketOutboundGatewaySpec,​RSocketOutboundGateway>
The MessageHandlerSpec implementation for the RSocketOutboundGateway.
Since:
5.2
  • Field Summary

    Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    PARSER, target

    Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    logger

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected RSocketOutboundGatewaySpec​(java.lang.String route, java.lang.Object... routeVariables)  
    protected RSocketOutboundGatewaySpec​(org.springframework.expression.Expression routeExpression)  
  • Method Summary

    Modifier and Type Method Description
    RSocketOutboundGatewaySpec clientRSocketConnector​(ClientRSocketConnector clientRSocketConnector)
    Configure a ClientRSocketConnector for client side requests based on the connection provided by the ClientRSocketConnector.getRequester().
    RSocketOutboundGatewaySpec expectedResponseType​(java.lang.Class<?> expectedResponseType)
    Specify the expected response type for the RSocket response.
    RSocketOutboundGatewaySpec expectedResponseType​(java.lang.String expectedResponseTypeExpression)
    Specify the Expression to determine the type for the RSocket response.
    <P> RSocketOutboundGatewaySpec expectedResponseType​(java.util.function.Function<org.springframework.messaging.Message<P>,​?> expectedResponseTypeFunction)
    Specify the Function to determine the type for the RSocket response.
    RSocketOutboundGatewaySpec expectedResponseType​(org.springframework.expression.Expression expectedResponseTypeExpression)
    Specify an Expression to determine the type for the RSocket response.
    RSocketOutboundGatewaySpec interactionModel​(java.lang.String interactionModelExpression)
    Configure a SpEL expression to evaluate an RSocketInteractionModel for the RSocket request type at runtime against a request message.
    <P> RSocketOutboundGatewaySpec interactionModel​(java.util.function.Function<org.springframework.messaging.Message<P>,​?> interactionModelFunction)
    Configure a Function to evaluate an RSocketInteractionModel for the RSocket request type at runtime against a request message.
    RSocketOutboundGatewaySpec interactionModel​(org.springframework.expression.Expression interactionModelExpression)
    Configure a SpEL expression to evaluate an RSocketInteractionModel for the RSocket request type at runtime against a request message.
    RSocketOutboundGatewaySpec interactionModel​(RSocketInteractionModel interactionModel)
    Configure an RSocketInteractionModel for the RSocket request type.
    RSocketOutboundGatewaySpec metadata​(java.lang.String metadataExpression)
    Configure a SpEL expression to evaluate a metadata as a Map<Object, MimeType> for the RSocket request against request message.
    <P> RSocketOutboundGatewaySpec metadata​(java.util.function.Function<org.springframework.messaging.Message<P>,​java.util.Map<java.lang.Object,​org.springframework.util.MimeType>> metadataFunction)
    Configure a Function to evaluate a metadata as a Map<Object, MimeType> for RSocket request against request message.
    RSocketOutboundGatewaySpec metadata​(org.springframework.expression.Expression metadataExpression)
    Configure a SpEL expression to evaluate a metadata as a Map<Object, MimeType> for the RSocket request type at runtime against a request message.
    RSocketOutboundGatewaySpec publisherElementType​(java.lang.Class<?> publisherElementType)
    Configure a type for a request Publisher elements.
    RSocketOutboundGatewaySpec publisherElementType​(java.lang.String publisherElementTypeExpression)
    Configure a SpEL expression to evaluate a request Publisher elements type at runtime against a request message.
    <P> RSocketOutboundGatewaySpec publisherElementType​(java.util.function.Function<org.springframework.messaging.Message<P>,​?> publisherElementTypeFunction)
    Configure a Function to evaluate a request Publisher elements type at runtime against a request message.
    RSocketOutboundGatewaySpec publisherElementType​(org.springframework.expression.Expression publisherElementTypeExpression)
    Configure a SpEL expression to evaluate a request Publisher elements type at runtime against a request message.

    Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    _this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop

    Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait