Class RSocketInboundGatewaySpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,G>
org.springframework.integration.dsl.MessagingGatewaySpec<RSocketInboundGatewaySpec,RSocketInboundGateway>
org.springframework.integration.rsocket.dsl.RSocketInboundGatewaySpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<RSocketInboundGateway>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class RSocketInboundGatewaySpec extends MessagingGatewaySpec<RSocketInboundGatewaySpec,RSocketInboundGateway>
The
MessagingGatewaySpec
implementation for the RSocketInboundGateway
.- Since:
- 5.2
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
RSocketInboundGatewaySpec(String... path)
-
Method Summary
Modifier and Type Method Description RSocketInboundGatewaySpec
decodeFluxAsUnit(boolean decodeFluxAsUnit)
Configure an option to decode an incomingFlux
as a single unit or each its event separately.RSocketInboundGatewaySpec
interactionModels(RSocketInteractionModel... interactionModels)
Configure a set ofRSocketInteractionModel
the endpoint is going to be mapped onto.RSocketInboundGatewaySpec
requestElementType(ResolvableType requestElementType)
Specify a type of payload to be generated when the inbound RSocket request content is read by the converters/encoders.RSocketInboundGatewaySpec
rsocketConnector(AbstractRSocketConnector rsocketConnector)
Provide anAbstractRSocketConnector
reference for an explicit endpoint mapping.RSocketInboundGatewaySpec
rsocketStrategies(RSocketStrategies rsocketStrategies)
Configure anRSocketStrategies
instead of a default one.Methods inherited from class org.springframework.integration.dsl.MessagingGatewaySpec
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrack
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, 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
-
Constructor Details
-
Method Details
-
interactionModels
Configure a set ofRSocketInteractionModel
the endpoint is going to be mapped onto.- Parameters:
interactionModels
- theRSocketInteractionModel
s for mapping.- Returns:
- the spec.
- Since:
- 5.2.2
- See Also:
RSocketInboundGateway.setInteractionModels(RSocketInteractionModel...)
-
rsocketStrategies
Configure anRSocketStrategies
instead of a default one.- Parameters:
rsocketStrategies
- theRSocketStrategies
to use.- Returns:
- the spec
- See Also:
RSocketInboundGateway.setRSocketStrategies(RSocketStrategies)
-
rsocketConnector
Provide anAbstractRSocketConnector
reference for an explicit endpoint mapping.- Parameters:
rsocketConnector
- theAbstractRSocketConnector
to use.- Returns:
- the spec
- See Also:
RSocketInboundGateway.setRSocketConnector(AbstractRSocketConnector)
-
requestElementType
Specify a type of payload to be generated when the inbound RSocket request content is read by the converters/encoders.- Parameters:
requestElementType
- The payload type.- Returns:
- the spec
- See Also:
RSocketInboundGateway.setRequestElementType(ResolvableType)
-
decodeFluxAsUnit
Configure an option to decode an incomingFlux
as a single unit or each its event separately.- Parameters:
decodeFluxAsUnit
- decode incomingFlux
as a single unit or each event separately.- Returns:
- the spec
- Since:
- 5.3
- See Also:
RSocketInboundGateway.setDecodeFluxAsUnit(boolean)
-