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 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
logger, PARSER, targetFields 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 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.ConsumerEndpointSpec
advice, 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.EndpointSpec
assertHandler, 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
BarrierSpec
protected BarrierSpec(long timeout)
-
-
Method Details
-
outputProcessor
-
correlationStrategy
-
discardChannel
Set 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
-
discardChannel
Set 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
-
triggerTimeout
Set 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 classConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler>
-