public class BarrierSpec extends ConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler>
MessageHandlerSpec for the BarrierMessageHandler.adviceChaincomponentsToRegister, endpointFactoryBean, handlerPARSER, targetloggerDEFAULT_PHASEOBJECT_TYPE_ATTRIBUTE| Modifier | Constructor and Description |
|---|---|
protected |
BarrierSpec(long timeout) |
| Modifier and Type | Method and Description |
|---|---|
BarrierSpec |
async(boolean async)
Allow async replies.
|
BarrierSpec |
correlationStrategy(CorrelationStrategy correlationStrategy) |
reactor.util.function.Tuple2<ConsumerEndpointFactoryBean,BarrierMessageHandler> |
doGet() |
BarrierSpec |
order(int order) |
BarrierSpec |
outputProcessor(MessageGroupProcessor outputProcessor) |
BarrierSpec |
requiresReply(boolean requiresReply) |
BarrierSpec |
sendTimeout(long sendTimeout) |
advice, autoStartup, customizeMonoReply, handleMessageAdvice, notPropagatedHeaders, phase, poller, role, taskScheduler, transactional, transactional, transactional, transactional, transactionalassertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, poller_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopafterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingletonpublic BarrierSpec outputProcessor(MessageGroupProcessor outputProcessor)
public BarrierSpec correlationStrategy(CorrelationStrategy correlationStrategy)
public BarrierSpec requiresReply(boolean requiresReply)
requiresReply in class ConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler>requiresReply - the requiresReply.AbstractReplyProducingMessageHandler.setRequiresReply(boolean)public BarrierSpec sendTimeout(long sendTimeout)
sendTimeout in class ConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler>sendTimeout - the send timeout.AbstractMessageProducingHandler.setSendTimeout(long)public BarrierSpec order(int order)
order in class ConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler>order - the order.MessageHandlerSupport.setOrder(int)public BarrierSpec async(boolean async)
ConsumerEndpointSpecorg.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 than
ListenableFuture.async in class ConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler>async - true to allow.AbstractMessageProducingHandler.setAsync(boolean)public reactor.util.function.Tuple2<ConsumerEndpointFactoryBean,BarrierMessageHandler> doGet()
doGet in class ConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler>