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.ConsumerEndpointSpec
adviceChain
Fields inherited from class org.springframework.integration.dsl.EndpointSpec
componentsToRegister, endpointFactoryBean, handler
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
ModifierConstructorDescriptionprotected
GatewayEndpointSpec
(String requestChannel) protected
GatewayEndpointSpec
(MessageChannel requestChannel) -
Method Summary
Modifier and TypeMethodDescriptionerrorChannel
(String errorChannel) Set an error channel.errorChannel
(MessageChannel errorChannel) Set an error channel.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.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
-
GatewayEndpointSpec
-
GatewayEndpointSpec
-
-
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
-