All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.otto.synapse.endpoint.MessageEndpointFactory Maven / Gradle / Ivy

Go to download

A library used at otto.de to implement Spring Boot based event-sourcing microservices.

The newest version!
package de.otto.synapse.endpoint;

import jakarta.annotation.Nonnull;

/*
 * A factory used to create {@link MessageSenderEndpoint} instances.
 *
 */
public interface MessageEndpointFactory extends Selectable {

    /**
     * Creates and returns a {@link MessageEndpoint} for a messaging channel.
     *
     * @param channelName the name of the channel of the created {@code MessageEndpoint}
     * @return MessagerSenderEndpoint
     */
    T create(@Nonnull String channelName);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy