Class RSocketInboundGatewaySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<RSocketInboundGatewaySpec,RSocketInboundGateway>
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, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodeFluxAsUnit(boolean decodeFluxAsUnit) Configure an option to decode an incomingFluxas a single unit or each its event separately.interactionModels(RSocketInteractionModel... interactionModels) Configure a set ofRSocketInteractionModelthe 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 anAbstractRSocketConnectorreference for an explicit endpoint mapping.rsocketStrategies(RSocketStrategies rsocketStrategies) Configure anRSocketStrategiesinstead 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, shouldTrackMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
RSocketInboundGatewaySpec
-
-
Method Details
-
interactionModels
Configure a set ofRSocketInteractionModelthe endpoint is going to be mapped onto.- Parameters:
interactionModels- theRSocketInteractionModels for mapping.- Returns:
- the spec.
- Since:
- 5.2.2
- See Also:
-
rsocketStrategies
Configure anRSocketStrategiesinstead of a default one.- Parameters:
rsocketStrategies- theRSocketStrategiesto use.- Returns:
- the spec
- See Also:
-
rsocketConnector
Provide anAbstractRSocketConnectorreference for an explicit endpoint mapping.- Parameters:
rsocketConnector- theAbstractRSocketConnectorto 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 incomingFluxas a single unit or each its event separately.- Parameters:
decodeFluxAsUnit- decode incomingFluxas a single unit or each event separately.- Returns:
- the spec
- Since:
- 5.3
- See Also:
-