public class RecipientListRouterSpec extends AbstractRouterSpec<RecipientListRouterSpec,org.springframework.integration.router.RecipientListRouter>
AbstractRouterSpec
for a RecipientListRouter
.subFlows
logger, PARSER, target
Modifier and Type | Method and Description |
---|---|
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.expression.Expression expression)
Adds a recipient channel that will be selected if the the expression evaluates to 'true'.
|
<P> RecipientListRouterSpec |
recipient(org.springframework.messaging.MessageChannel channel,
org.springframework.integration.core.GenericSelector<P> 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,
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.expression.Expression expression)
Adds a recipient channel that will be selected if the the expression evaluates to 'true'.
|
<P> RecipientListRouterSpec |
recipient(java.lang.String channelName,
org.springframework.integration.core.GenericSelector<P> selector)
Adds a recipient channel that will be selected if the the selector's accept method returns 'true'.
|
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.expression.Expression expression,
IntegrationFlow subFlow)
Adds a subflow that will be invoked if the expression evaluates to 'true'.
|
<P> RecipientListRouterSpec |
recipientFlow(org.springframework.integration.core.GenericSelector<P> selector,
IntegrationFlow subFlow)
Adds a subflow that will be invoked if the selector's accept methods returns 'true'.
|
RecipientListRouterSpec |
recipientFlow(IntegrationFlow subFlow)
Adds a subflow that will be invoked as a recipient.
|
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, defaultOutputChannel, defaultOutputChannel, defaultOutputToParentFlow, defaultSubFlowMapping, getComponentsToRegister, ignoreSendFailures
_this, doGet, get, getId, getObject, getObjectType, id, isSingleton
public 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.expression.Expression 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 <P> RecipientListRouterSpec recipient(java.lang.String channelName, org.springframework.integration.core.GenericSelector<P> selector)
P
- the selector source type.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.expression.Expression 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 <P> RecipientListRouterSpec recipient(org.springframework.messaging.MessageChannel channel, org.springframework.integration.core.GenericSelector<P> selector)
P
- the selector source type.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 <P> RecipientListRouterSpec recipientFlow(org.springframework.integration.core.GenericSelector<P> selector, IntegrationFlow subFlow)
P
- the selector source type.selector
- the selector.subFlow
- the subflow.public RecipientListRouterSpec recipientFlow(IntegrationFlow subFlow)
subFlow
- the subflow.public RecipientListRouterSpec recipientFlow(java.lang.String expression, IntegrationFlow subFlow)
expression
- the expression.subFlow
- the subflow.public RecipientListRouterSpec recipientFlow(org.springframework.expression.Expression expression, IntegrationFlow subFlow)
expression
- the expression.subFlow
- the subflow.