Class BarrierSpec
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<BarrierSpec,BarrierMessageHandler>
org.springframework.integration.dsl.BarrierSpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<reactor.util.function.Tuple2<ConsumerEndpointFactoryBean,
,BarrierMessageHandler>> InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
,ComponentsRegistration
A
MessageHandlerSpec
for the BarrierMessageHandler
.- 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
-
Method Summary
Modifier and TypeMethodDescriptionasync
(boolean async) Allow async replies.correlationStrategy
(CorrelationStrategy correlationStrategy) reactor.util.function.Tuple2<ConsumerEndpointFactoryBean,
BarrierMessageHandler> doGet()
order
(int order) outputProcessor
(MessageGroupProcessor outputProcessor) requiresReply
(boolean requiresReply) sendTimeout
(long sendTimeout) Methods inherited from class org.springframework.integration.dsl.ConsumerEndpointSpec
advice, autoStartup, customizeMonoReply, handleMessageAdvice, notPropagatedHeaders, phase, poller, reactive, reactive, role, 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
-
BarrierSpec
protected BarrierSpec(long timeout)
-
-
Method Details
-
outputProcessor
-
correlationStrategy
-
requiresReply
- Overrides:
requiresReply
in classConsumerEndpointSpec<BarrierSpec,
BarrierMessageHandler> - Parameters:
requiresReply
- the requiresReply.- Returns:
- the endpoint spec.
- See Also:
-
sendTimeout
- Overrides:
sendTimeout
in classConsumerEndpointSpec<BarrierSpec,
BarrierMessageHandler> - Parameters:
sendTimeout
- the send timeout.- Returns:
- the endpoint spec.
- See Also:
-
order
- Overrides:
order
in classConsumerEndpointSpec<BarrierSpec,
BarrierMessageHandler> - Parameters:
order
- the order.- Returns:
- the endpoint spec.
- See Also:
-
async
Description copied from class:ConsumerEndpointSpec
Allow async replies. If the handler reply is aorg.springframework.util.concurrent.ListenableFuture
, send the output when it is satisfied rather than sending the future as the result. Ignored for handler return types other thanListenableFuture
.- Overrides:
async
in classConsumerEndpointSpec<BarrierSpec,
BarrierMessageHandler> - Parameters:
async
- true to allow.- Returns:
- the endpoint spec.
- See Also:
-
doGet
- Overrides:
doGet
in classConsumerEndpointSpec<BarrierSpec,
BarrierMessageHandler>
-