Interface MessageSenderEndpointFactory


  • public interface MessageSenderEndpointFactory
    • Method Detail

      • create

        MessageSenderEndpoint create​(@Nonnull
                                     java.lang.String channelName,
                                     MessageFormat messageFormat)
        Creates and returns a AbstractMessageSenderEndpoint for a messaging channel.
        Parameters:
        channelName - the name of the channel of the created MessageSenderEndpoint
        messageFormat - the message format in which messages are serialized to
        Returns:
        MessagerSenderEndpoint
      • matches

        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.
        Parameters:
        channelSelector - Set of channel selectors
        Returns:
        boolean