Interface EventSourceBuilder

    • Method Detail

      • buildEventSource

        EventSource buildEventSource​(MessageLogReceiverEndpoint messageLogReceiverEndpoint)
        Should build an event source for a given stream name. Classes that implement this interface use this differently depending on their specific event queuing tech.
        Parameters:
        messageLogReceiverEndpoint - the MessageLogReceiverEndpoint used to consume
        Returns:
        EventSource implementation for this specific technology
      • matches

        default boolean matches​(java.lang.Class<? extends Selector> channelSelector)
        Description copied from interface: Selectable
        Returns true if the factory is capable to create a MessageEndpoint matching the given selector, false otherwise.
        Specified by:
        matches in interface Selectable
        Parameters:
        channelSelector - the selector
        Returns:
        boolean