fi.evolver.basics.spring.messaging.sender.Sender Maven / Gradle / Ivy
package fi.evolver.basics.spring.messaging.sender;
import java.net.URI;
import java.util.Set;
import fi.evolver.basics.spring.messaging.SendResult;
import fi.evolver.basics.spring.messaging.entity.Message;
public interface Sender {
/**
* Sends the message to the given URI. Should not be called manually.
*
* @param message The message to send.
* @param uri Target URI.
*/
public SendResult send(Message message, URI uri);
/**
* Should return all protocols supported by the sender.
*
* @return A set of protocols supported by the sender.
*/
public Set getSupportedProtocols();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy