Class RSocketInboundGatewaySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,G>
org.springframework.integration.dsl.MessagingGatewaySpec<RSocketInboundGatewaySpec,RSocketInboundGateway>
org.springframework.integration.rsocket.dsl.RSocketInboundGatewaySpec
- All Implemented Interfaces:
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
logger, PARSER, target
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, observationConvention, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrack
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, get, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
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:
-