public class RecipientListRouterSpec extends AbstractRouterSpec<RecipientListRouterSpec,RecipientListRouter>
AbstractRouterSpec
for a RecipientListRouter
.adviceChain
componentsToRegister, endpointFactoryBean, handler
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
RecipientListRouterSpec() |
Modifier and Type | Method and Description |
---|---|
RecipientListRouterSpec |
recipient(MessageChannel channel)
Adds a recipient channel that always will be selected.
|
RecipientListRouterSpec |
recipient(MessageChannel channel,
Expression expression)
Adds a recipient channel that will be selected if the the expression evaluates to 'true'.
|
<P> RecipientListRouterSpec |
recipient(MessageChannel channel,
GenericSelector<P> selector)
Adds a recipient channel that will be selected if the the selector's accept method returns 'true'.
|
RecipientListRouterSpec |
recipient(MessageChannel channel,
String expression)
Adds a recipient channel that will be selected if the the expression evaluates to 'true'.
|
RecipientListRouterSpec |
recipient(String channelName)
Adds a recipient channel that always will be selected.
|
RecipientListRouterSpec |
recipient(String channelName,
Expression expression)
Adds a recipient channel that will be selected if the the expression evaluates to 'true'.
|
<P> RecipientListRouterSpec |
recipient(String channelName,
GenericSelector<P> selector)
Adds a recipient channel that will be selected if the the selector's accept method returns 'true'.
|
RecipientListRouterSpec |
recipient(String channelName,
String expression)
Adds a recipient channel that will be selected if the the expression evaluates to 'true'.
|
RecipientListRouterSpec |
recipientFlow(Expression expression,
IntegrationFlow subFlow)
Adds a subflow that will be invoked if the expression evaluates to 'true'.
|
<P> RecipientListRouterSpec |
recipientFlow(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(String expression,
IntegrationFlow subFlow)
Adds a subflow that will be invoked if the expression evaluates to 'true'.
|
RecipientListRouterSpec |
recipientMessageSelector(MessageChannel channel,
MessageSelector selector)
Adds a recipient channel that will be selected if the the selector's accept method returns 'true'.
|
RecipientListRouterSpec |
recipientMessageSelector(String channelName,
MessageSelector selector)
Adds a recipient channel that will be selected if the the selector's accept method returns 'true'.
|
RecipientListRouterSpec |
recipientMessageSelectorFlow(MessageSelector selector,
IntegrationFlow subFlow)
Adds a subflow that will be invoked if the selector's accept methods returns 'true'.
|
applySequence, defaultOutputChannel, defaultOutputChannel, defaultOutputToParentFlow, defaultSubFlowMapping, ignoreSendFailures, isDefaultToParentFlow
advice, async, autoStartup, customizeMonoReply, doGet, handleMessageAdvice, notPropagatedHeaders, order, phase, poller, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactional
assertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, poller
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
public RecipientListRouterSpec recipient(String channelName)
channelName
- the channel name.public RecipientListRouterSpec recipient(String channelName, String expression)
channelName
- the channel name.expression
- the expression.public RecipientListRouterSpec recipient(String channelName, Expression expression)
channelName
- the channel name.expression
- the expression.public RecipientListRouterSpec recipientMessageSelector(String channelName, MessageSelector selector)
channelName
- the channel name.selector
- the selector.public <P> RecipientListRouterSpec recipient(String channelName, GenericSelector<P> selector)
P
- the selector source type.channelName
- the channel name.selector
- the selector.public RecipientListRouterSpec recipient(MessageChannel channel)
channel
- the recipient channel.public RecipientListRouterSpec recipient(MessageChannel channel, String expression)
channel
- the recipient channel.expression
- the expression.public RecipientListRouterSpec recipient(MessageChannel channel, Expression expression)
channel
- the recipient channel.expression
- the expression.public RecipientListRouterSpec recipientMessageSelector(MessageChannel channel, MessageSelector selector)
channel
- the recipient channel.selector
- the selector.public <P> RecipientListRouterSpec recipient(MessageChannel channel, GenericSelector<P> selector)
P
- the selector source type.channel
- the recipient channel.selector
- the selector.public RecipientListRouterSpec recipientMessageSelectorFlow(MessageSelector selector, IntegrationFlow subFlow)
selector
- the selector.subFlow
- the subflow.public <P> RecipientListRouterSpec recipientFlow(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(String expression, IntegrationFlow subFlow)
expression
- the expression.subFlow
- the subflow.public RecipientListRouterSpec recipientFlow(Expression expression, IntegrationFlow subFlow)
expression
- the expression.subFlow
- the subflow.