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
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
-
Method Summary
Modifier and TypeMethodDescriptiondecodeFluxAsUnit
(boolean decodeFluxAsUnit) Configure an option to decode an incomingFlux
as a single unit or each its event separately.interactionModels
(RSocketInteractionModel... interactionModels) Configure a set ofRSocketInteractionModel
the endpoint is going to be mapped onto.requestElementType
(ResolvableType requestElementType) Specify a type of payload to be generated when the inbound RSocket request content is read by the converters/encoders.rsocketConnector
(AbstractRSocketConnector rsocketConnector) Provide anAbstractRSocketConnector
reference for an explicit endpoint mapping.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
-
RSocketInboundGatewaySpec
-
-
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:
-
rsocketStrategies
Configure anRSocketStrategies
instead of a default one.- Parameters:
rsocketStrategies
- theRSocketStrategies
to use.- Returns:
- the spec
- See Also:
-
rsocketConnector
Provide anAbstractRSocketConnector
reference for an explicit endpoint mapping.- Parameters:
rsocketConnector
- theAbstractRSocketConnector
to use.- Returns:
- the spec
- See Also:
-
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:
-
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:
-