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, handlerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target -
Constructor Summary
Constructors Modifier Constructor Description protectedGatewayEndpointSpec(String requestChannel)protectedGatewayEndpointSpec(MessageChannel requestChannel) -
Method Summary
Modifier and Type Method Description GatewayEndpointSpecerrorChannel(String errorChannel)Set an error channel.GatewayEndpointSpecerrorChannel(MessageChannel errorChannel)Set an error channel.GatewayEndpointSpecreplyChannel(String replyChannel)Set a reply channel.GatewayEndpointSpecreplyChannel(MessageChannel replyChannel)Set a reply channel.GatewayEndpointSpecreplyTimeout(Long replyTimeout)Set a reply timeout.GatewayEndpointSpecrequestTimeout(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, transactionalMethods inherited from class org.springframework.integration.dsl.EndpointSpec
assertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, pollerMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods 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
-