Class GatewayEndpointSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
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:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,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 Summary
Fields inherited from class org.springframework.integration.dsl.EndpointSpec
componentsToRegister, endpointFactoryBean, handler
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
GatewayEndpointSpec(String requestChannel)
protected
GatewayEndpointSpec(MessageChannel requestChannel)
-
Method Summary
Modifier and Type Method Description GatewayEndpointSpec
errorChannel(String errorChannel)
Set an error channel.GatewayEndpointSpec
errorChannel(MessageChannel errorChannel)
Set an error channel.GatewayEndpointSpec
replyChannel(String replyChannel)
Set a reply channel.GatewayEndpointSpec
replyChannel(MessageChannel replyChannel)
Set a reply channel.GatewayEndpointSpec
replyTimeout(Long replyTimeout)
Set a reply timeout.GatewayEndpointSpec
requestTimeout(Long requestTimeout)
Set a request timeout.Methods inherited from class org.springframework.integration.dsl.ConsumerEndpointSpec
advice, async, autoStartup, customizeMonoReply, doGet, handleMessageAdvice, notPropagatedHeaders, order, phase, poller, reactive, reactive, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactional
Methods inherited from class org.springframework.integration.dsl.EndpointSpec
assertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, poller
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, 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
-
replyChannel
Set a reply channel.- Parameters:
replyChannel
- the reply channel- Returns:
- the spec
-
replyChannel
Set a reply channel.- Parameters:
replyChannel
- the reply channel- Returns:
- the spec
-
errorChannel
Set an error channel.- Parameters:
errorChannel
- the error channel- Returns:
- the spec
-
errorChannel
Set an error channel.- Parameters:
errorChannel
- the error channel- Returns:
- the spec
-
requestTimeout
Set a request timeout.- Parameters:
requestTimeout
- the request timeout- Returns:
- the spec
-
replyTimeout
Set a reply timeout.- Parameters:
replyTimeout
- the reply timeout- Returns:
- the spec
-