S - the target AbstractRouterSpec implementation type.R - the AbstractMessageRouter implementation type.public class AbstractRouterSpec<S extends AbstractRouterSpec<S,R>,R extends AbstractMessageRouter> extends ConsumerEndpointSpec<S,R>
adviceChaincomponentsToRegister, endpointFactoryBean, handlerlogger, PARSER, target| Modifier and Type | Method and Description |
|---|---|
S |
applySequence(boolean applySequence) |
S |
defaultOutputChannel(org.springframework.messaging.MessageChannel channel)
Specify a
MessageChannel as a default output from the router. |
S |
defaultOutputChannel(java.lang.String channelName)
Specify a
MessageChannel bean name as a default output from the router. |
S |
defaultOutputToParentFlow()
Make a default output mapping of the router to the parent flow.
|
S |
defaultSubFlowMapping(IntegrationFlow subFlow)
Specify an
IntegrationFlow as an output from the router when no any other mapping has matched. |
S |
ignoreSendFailures(boolean ignoreSendFailures) |
advice, async, autoStartup, doGet, notPropagatedHeaders, order, phase, poller, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactionalassertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, poller_this, afterPropertiesSet, destroy, get, getId, getObject, getObjectType, isSingletonpublic S ignoreSendFailures(boolean ignoreSendFailures)
ignoreSendFailures - the ignoreSendFailures.AbstractMessageRouter.setIgnoreSendFailures(boolean)public S applySequence(boolean applySequence)
applySequence - the applySequence.AbstractMessageRouter.setApplySequence(boolean)public S defaultOutputChannel(java.lang.String channelName)
MessageChannel bean name as a default output from the router.channelName - the MessageChannel bean name.AbstractMessageRouter.setDefaultOutputChannelName(String)public S defaultOutputChannel(org.springframework.messaging.MessageChannel channel)
MessageChannel as a default output from the router.channel - the MessageChannel to use.AbstractMessageRouter.setDefaultOutputChannel(MessageChannel)public S defaultSubFlowMapping(IntegrationFlow subFlow)
IntegrationFlow as an output from the router when no any other mapping has matched.subFlow - the IntegrationFlow for default mapping.public S defaultOutputToParentFlow()
MessageChannel as a
AbstractMessageRouter.setDefaultOutputChannel(MessageChannel) of this router.