Package de.otto.synapse.eventsource
Interface EventSourceBuilder
- All Superinterfaces:
Selectable
- All Known Implementing Classes:
DefaultEventSourceBuilder
A builder used to build
instances.-
Method Summary
Modifier and TypeMethodDescriptionbuildEventSource(MessageLogReceiverEndpoint messageLogReceiverEndpoint) Should build an event source for a given stream name.default booleanReturns true if the factory is capable to create aMessageEndpointmatching the given selector, false otherwise.Methods inherited from interface de.otto.synapse.endpoint.Selectable
selector
-
Method Details
-
buildEventSource
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
Description copied from interface:SelectableReturns true if the factory is capable to create aMessageEndpointmatching the given selector, false otherwise.- Specified by:
matchesin interfaceSelectable- Parameters:
channelSelector- the selector- Returns:
- boolean
-