public class RecipientListRouterSpec extends AbstractRouterSpec<RecipientListRouterSpec,org.springframework.integration.router.RecipientListRouter> implements ComponentsRegistration
AbstractRouterSpec for a RecipientListRouter.id, logger, PARSER, target| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.Object> |
getComponentsToRegister() |
RecipientListRouterSpec |
recipient(org.springframework.messaging.MessageChannel channel)
Adds a recipient channel that always will be selected.
|
RecipientListRouterSpec |
recipient(org.springframework.messaging.MessageChannel channel,
org.springframework.integration.core.MessageSelector selector)
Adds a recipient channel that will be selected if the the selector's accept method returns 'true'.
|
RecipientListRouterSpec |
recipient(org.springframework.messaging.MessageChannel channel,
java.lang.String expression)
Adds a recipient channel that will be selected if the the expression evaluates to 'true'.
|
RecipientListRouterSpec |
recipient(java.lang.String channelName)
Adds a recipient channel that always will be selected.
|
RecipientListRouterSpec |
recipient(java.lang.String channelName,
org.springframework.integration.core.MessageSelector selector)
Adds a recipient channel that will be selected if the the selector's accept method returns 'true'.
|
RecipientListRouterSpec |
recipient(java.lang.String channelName,
java.lang.String expression)
Adds a recipient channel that will be selected if the the expression evaluates to 'true'.
|
RecipientListRouterSpec |
recipientFlow(org.springframework.integration.core.MessageSelector selector,
IntegrationFlow subFlow)
Adds a subflow that will be invoked if the selector's accept methods returns 'true'.
|
RecipientListRouterSpec |
recipientFlow(java.lang.String expression,
IntegrationFlow subFlow)
Adds a subflow that will be invoked if the expression evaluates to 'true'.
|
applySequence, doGet, ignoreSendFailures_this, get, getId, idpublic RecipientListRouterSpec recipient(java.lang.String channelName)
channelName - the channel name.public RecipientListRouterSpec recipient(java.lang.String channelName, java.lang.String expression)
channelName - the channel name.expression - the expression.public RecipientListRouterSpec recipient(java.lang.String channelName, org.springframework.integration.core.MessageSelector selector)
channelName - the channel name.selector - the selector.public RecipientListRouterSpec recipient(org.springframework.messaging.MessageChannel channel)
channel - the recipient channel.public RecipientListRouterSpec recipient(org.springframework.messaging.MessageChannel channel, java.lang.String expression)
channel - the recipient channel.expression - the expression.public RecipientListRouterSpec recipient(org.springframework.messaging.MessageChannel channel, org.springframework.integration.core.MessageSelector selector)
channel - the recipient channel.selector - the selector.public RecipientListRouterSpec recipientFlow(org.springframework.integration.core.MessageSelector selector, IntegrationFlow subFlow)
selector - the selector.subFlow - the subflow.public RecipientListRouterSpec recipientFlow(java.lang.String expression, IntegrationFlow subFlow)
expression - the expression.subFlow - the subflow.public java.util.Collection<java.lang.Object> getComponentsToRegister()
getComponentsToRegister in interface ComponentsRegistration