|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.router.AbstractRoutingMessageHandler
org.springframework.integration.router.MultiChannelRouter
org.springframework.integration.router.RecipientListRouter
public class RecipientListRouter
A simple extension of MultiChannelRouter
that routes to a statically
configured list of recipients. The recipients are provided either as a list
of MessageChannel
instances or as a String array of channel names.
For dynamic recipient lists, implement either MultiChannelResolver
or
MultiChannelNameResolver
and then explicitly configure an instance of
MultiChannelRouter
.
Nested Class Summary | |
---|---|
private static class |
RecipientListRouter.RecipientListChannelNameResolver
|
private static class |
RecipientListRouter.RecipientListChannelResolver
|
Field Summary |
---|
Fields inherited from class org.springframework.integration.router.AbstractRoutingMessageHandler |
---|
logger |
Constructor Summary | |
---|---|
RecipientListRouter()
|
Method Summary | |
---|---|
void |
setChannelNames(java.lang.String[] channelNames)
|
void |
setChannels(java.util.List<MessageChannel> channels)
|
Methods inherited from class org.springframework.integration.router.MultiChannelRouter |
---|
resolveChannels, setChannelNameResolver, setChannelResolver, validate |
Methods inherited from class org.springframework.integration.router.AbstractRoutingMessageHandler |
---|
afterPropertiesSet, getChannelRegistry, handle, setChannelRegistry, setResolutionRequired, setTimeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecipientListRouter()
Method Detail |
---|
public void setChannelNames(java.lang.String[] channelNames)
public void setChannels(java.util.List<MessageChannel> channels)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |