Class BarrierSpec
java.lang.Object
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:
- 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 SummaryFields inherited from class org.springframework.integration.dsl.ConsumerEndpointSpecadviceChainFields inherited from class org.springframework.integration.dsl.EndpointSpeccomponentsToRegister, endpointFactoryBean, handlerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncorrelationStrategy(CorrelationStrategy correlationStrategy) discardChannel(String discardChannelName) Set the channel bean name to which late arriving trigger messages are sent, or request message does not arrive in time.discardChannel(MessageChannel discardChannel) Set the channel to which late arriving trigger messages are sent, or request message does not arrive in time.reactor.util.function.Tuple2<ConsumerEndpointFactoryBean,BarrierMessageHandler> doGet()outputProcessor(MessageGroupProcessor outputProcessor) triggerTimeout(long triggerTimeout) Set the timeout in milliseconds when waiting for a request message.Methods inherited from class org.springframework.integration.dsl.ConsumerEndpointSpecadvice, async, autoStartup, customizeMonoReply, handleMessageAdvice, notPropagatedHeaders, order, phase, poller, reactive, reactive, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactionalMethods inherited from class org.springframework.integration.dsl.EndpointSpecassertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, pollerMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
BarrierSpecprotected BarrierSpec(long timeout) 
 
- 
- 
Method Details- 
outputProcessor
- 
correlationStrategy
- 
discardChannelSet the channel to which late arriving trigger messages are sent, or request message does not arrive in time.- Parameters:
- discardChannel- the message channel for discarded triggers.
- Returns:
- the spec
- Since:
- 6.2.10
 
- 
discardChannelSet the channel bean name to which late arriving trigger messages are sent, or request message does not arrive in time.- Parameters:
- discardChannelName- the message channel for discarded triggers.
- Returns:
- the spec
- Since:
- 6.2.10
 
- 
triggerTimeoutSet the timeout in milliseconds when waiting for a request message.- Parameters:
- triggerTimeout- the timeout in milliseconds when waiting for a request message.
- Returns:
- the spec
- Since:
- 6.2.10
 
- 
doGet- Overrides:
- doGetin class- ConsumerEndpointSpec<BarrierSpec,- BarrierMessageHandler> 
 
 
-