Package de.otto.synapse.endpoint.sender
Interface MessageSenderEndpointFactory
- All Superinterfaces:
MessageEndpointFactory<MessageSenderEndpoint>,Selectable
-
Method Summary
Modifier and TypeMethodDescriptiondefault MessageSenderEndpointCreates and returns aAbstractMessageSenderEndpointfor a messaging channel.create(String channelName, MessageFormat messageFormat) Creates and returns aAbstractMessageSenderEndpointfor a messaging channel.booleanReturns true if the factory is capable to create aMessageSenderEndpointmatching the given selector, false otherwise.selector()
-
Method Details
-
create
Creates and returns aAbstractMessageSenderEndpointfor a messaging channel.- Specified by:
createin interfaceMessageEndpointFactory<MessageSenderEndpoint>- Parameters:
channelName- the name of the channel of the createdMessageSenderEndpoint- Returns:
- MessagerSenderEndpoint
-
create
Creates and returns aAbstractMessageSenderEndpointfor a messaging channel.- Parameters:
channelName- the name of the channel of the createdMessageSenderEndpointmessageFormat- the message format in which messages are serialized to- Returns:
- MessagerSenderEndpoint
-
matches
Returns true if the factory is capable to create aMessageSenderEndpointmatching the given selector, false otherwise.- Specified by:
matchesin interfaceSelectable- Parameters:
channelSelector- channel selector- Returns:
- boolean
-
selector
- Specified by:
selectorin interfaceSelectable
-