Interface MessageEndpointFactory<T extends MessageEndpoint>

All Superinterfaces:
Selectable
All Known Subinterfaces:
MessageLogReceiverEndpointFactory, MessageSenderEndpointFactory

public interface MessageEndpointFactory<T extends MessageEndpoint>
extends Selectable
  • Method Summary

    Modifier and Type Method Description
    T create​(java.lang.String channelName)
    Creates and returns a MessageEndpoint for a messaging channel.

    Methods inherited from interface de.otto.synapse.endpoint.Selectable

    matches, selector
  • Method Details

    • create

      T create​(@Nonnull java.lang.String channelName)
      Creates and returns a MessageEndpoint for a messaging channel.
      Parameters:
      channelName - the name of the channel of the created MessageEndpoint
      Returns:
      MessagerSenderEndpoint