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
adviceChainFields inherited from class org.springframework.integration.dsl.EndpointSpec
componentsToRegister, endpointFactoryBean, handlerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, targetFields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
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, 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
-
BarrierSpec
protected BarrierSpec(long timeout)
-
-
Method Details
-
outputProcessor
-
correlationStrategy
-
requiresReply
- Overrides:
requiresReplyin classConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler> - Parameters:
requiresReply- the requiresReply.- Returns:
- the endpoint spec.
- See Also:
-
sendTimeout
- Overrides:
sendTimeoutin classConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler> - Parameters:
sendTimeout- the send timeout.- Returns:
- the endpoint spec.
- See Also:
-
order
- Overrides:
orderin classConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler> - Parameters:
order- the order.- Returns:
- the endpoint spec.
- See Also:
-
async
Description copied from class:ConsumerEndpointSpecAllow 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:
asyncin classConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler> - Parameters:
async- true to allow.- Returns:
- the endpoint spec.
- See Also:
-
doGet
- Overrides:
doGetin classConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler>
-