Package de.otto.synapse.endpoint
Interface MessageEndpointFactory<T extends MessageEndpoint>
-
- All Superinterfaces:
Selectable
- All Known Subinterfaces:
MessageLogReceiverEndpointFactory,MessageSenderEndpointFactory
public interface MessageEndpointFactory<T extends MessageEndpoint> extends Selectable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tcreate(java.lang.String channelName)Creates and returns aMessageEndpointfor a messaging channel.-
Methods inherited from interface de.otto.synapse.endpoint.Selectable
matches, selector
-
-
-
-
Method Detail
-
create
T create(@Nonnull java.lang.String channelName)
Creates and returns aMessageEndpointfor a messaging channel.- Parameters:
channelName- the name of the channel of the createdMessageEndpoint- Returns:
- MessagerSenderEndpoint
-
-