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, handlerPARSER, targetloggerDEFAULT_PHASEOBJECT_TYPE_ATTRIBUTE| Modifier and Type | Method and Description |
|---|---|
S |
applySequence(boolean applySequence) |
S |
defaultOutputChannel(MessageChannel channel)
Specify a
MessageChannel as a default output from the router. |
S |
defaultOutputChannel(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, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopafterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingletonpublic S ignoreSendFailures(boolean ignoreSendFailures)
ignoreSendFailures - the ignoreSendFailures.AbstractMessageRouter.setIgnoreSendFailures(boolean)public S applySequence(boolean applySequence)
applySequence - the applySequence.AbstractMessageRouter.setApplySequence(boolean)public S defaultOutputChannel(String channelName)
MessageChannel bean name as a default output from the router.channelName - the MessageChannel bean name.AbstractMessageRouter.setDefaultOutputChannelName(String)public S defaultOutputChannel(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.