S - the target AbstractRouterSpec implementation type.R - the AbstractMessageRouter implementation type.public class AbstractRouterSpec<S extends AbstractRouterSpec<S,R>,R extends AbstractMessageRouter> extends MessageHandlerSpec<S,R> implements ComponentsRegistration
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
componentsToRegister |
logger, PARSER, target| 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. |
Collection<Object> |
getComponentsToRegister() |
S |
ignoreSendFailures(boolean ignoreSendFailures) |
_this, doGet, get, getId, getObject, getObjectType, id, 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(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.public Collection<Object> getComponentsToRegister()
getComponentsToRegister in interface ComponentsRegistration