Class GatewayEndpointSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,reactor.util.function.Tuple2<F,H>>
  
org.springframework.integration.dsl.EndpointSpec<S,ConsumerEndpointFactoryBean,H>
  
org.springframework.integration.dsl.ConsumerEndpointSpec<GatewayEndpointSpec,GatewayMessageHandler>
 
org.springframework.integration.dsl.GatewayEndpointSpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<reactor.util.function.Tuple2<ConsumerEndpointFactoryBean,,- GatewayMessageHandler>> - InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
public class GatewayEndpointSpec
extends ConsumerEndpointSpec<GatewayEndpointSpec,GatewayMessageHandler> 
A 
ConsumerEndpointSpec implementation for a mid-flow GatewayMessageHandler.- Since:
- 5.0
- Author:
- Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.dsl.ConsumerEndpointSpecadviceChainFields inherited from class org.springframework.integration.dsl.EndpointSpeccomponentsToRegister, endpointFactoryBean, handlerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedGatewayEndpointSpec(String requestChannel) protectedGatewayEndpointSpec(MessageChannel requestChannel) 
- 
Method SummaryModifier and TypeMethodDescriptionerrorChannel(String errorChannel) Set an error channel.errorChannel(MessageChannel errorChannel) Set an error channel.errorOnTimeout(boolean errorOnTimeout) Set a error on timeout flag.replyChannel(String replyChannel) Set a reply channel.replyChannel(MessageChannel replyChannel) Set a reply channel.replyTimeout(Long replyTimeout) Set a reply timeout.requestTimeout(Long requestTimeout) Set a request timeout.Methods inherited from class org.springframework.integration.dsl.ConsumerEndpointSpecadvice, async, autoStartup, customizeMonoReply, doGet, handleMessageAdvice, notPropagatedHeaders, order, phase, poller, reactive, reactive, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactionalMethods inherited from class org.springframework.integration.dsl.EndpointSpecassertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, pollerMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
GatewayEndpointSpec
- 
GatewayEndpointSpec
 
- 
- 
Method Details- 
replyChannelSet a reply channel.- Parameters:
- replyChannel- the reply channel
- Returns:
- the spec
 
- 
replyChannelSet a reply channel.- Parameters:
- replyChannel- the reply channel
- Returns:
- the spec
 
- 
errorChannelSet an error channel.- Parameters:
- errorChannel- the error channel
- Returns:
- the spec
 
- 
errorChannelSet an error channel.- Parameters:
- errorChannel- the error channel
- Returns:
- the spec
 
- 
requestTimeoutSet a request timeout.- Parameters:
- requestTimeout- the request timeout
- Returns:
- the spec
 
- 
replyTimeoutSet a reply timeout.- Parameters:
- replyTimeout- the reply timeout
- Returns:
- the spec
 
- 
errorOnTimeoutSet a error on timeout flag.- Parameters:
- errorOnTimeout- true to produce an error in case of a reply timeout.
- Returns:
- the spec.
- Since:
- 6.2
- See Also:
 
 
-