public static class RecipientListRouter.Recipient extends Object
Constructor and Description |
---|
Recipient(MessageChannel channel) |
Recipient(MessageChannel channel,
MessageSelector selector) |
Recipient(String channelName) |
Recipient(String channelName,
MessageSelector selector) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Message<?> message) |
MessageChannel |
getChannel() |
void |
setChannelResolver(DestinationResolver<MessageChannel> channelResolver) |
public Recipient(MessageChannel channel)
public Recipient(MessageChannel channel, MessageSelector selector)
public Recipient(String channelName)
public Recipient(String channelName, MessageSelector selector)
public void setChannelResolver(DestinationResolver<MessageChannel> channelResolver)
@Nullable public MessageChannel getChannel()
public boolean accept(Message<?> message)