public class BarrierSpec extends ConsumerEndpointSpec<BarrierSpec,BarrierMessageHandler>
MessageHandlerSpec
for the BarrierMessageHandler
.adviceChain
componentsToRegister, endpointFactoryBean, handler
PARSER, target
logger
DEFAULT_PHASE
OBJECT_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, transactional
assertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, poller
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
public 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)
ConsumerEndpointSpec
org.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>