public interface MessageSenderEndpointFactory
| Modifier and Type | Method and Description |
|---|---|
default MessageSenderEndpoint |
create(java.lang.String channelName)
Creates and returns a
AbstractMessageSenderEndpoint for a messaging channel. |
MessageSenderEndpoint |
create(java.lang.String channelName,
MessageFormat messageFormat)
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. |
default MessageSenderEndpoint create(@Nonnull java.lang.String channelName)
AbstractMessageSenderEndpoint for a messaging channel.channelName - the name of the channel of the created MessageSenderEndpointMessageSenderEndpoint create(@Nonnull java.lang.String channelName, MessageFormat messageFormat)
AbstractMessageSenderEndpoint for a messaging channel.channelName - the name of the channel of the created MessageSenderEndpointmessageFormat - the message format in which messages are serialized toboolean matches(java.lang.Class<? extends Selector> channelSelector)
MessageSenderEndpoint matching the given
selectors, false otherwise.channelSelector - Set of channel selectors