public interface MessageSenderEndpointFactory
Modifier and Type | Method and Description |
---|---|
MessageSenderEndpoint |
create(java.lang.String channelName)
Creates and returns a
AbstractMessageSenderEndpoint for a messaging channel. |
boolean |
matches(java.lang.Class<? extends Selector> channelSelector)
Returns true if the factory is capable to create a
MessageSenderEndpoint matching the given
selectors, false otherwise. |
MessageSenderEndpoint create(@Nonnull java.lang.String channelName)
AbstractMessageSenderEndpoint
for a messaging channel.channelName
- the name of the channel of the created MessageSenderEndpoint
boolean matches(java.lang.Class<? extends Selector> channelSelector)
MessageSenderEndpoint
matching the given
selectors, false otherwise.channelSelector
- Set of channel selectors