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

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

Go to download

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

There is a newer version: 0.33.1
Show newest version
package de.otto.synapse.endpoint;

import de.otto.synapse.channel.selector.Selector;

/*
 * A type that is selectable.
 *
 */
public interface Selectable {

    /**
     * Returns true if the factory is capable to create a {@link MessageEndpoint} matching the given
     * selector, false otherwise.
     *
     * @param channelSelector the selector
     * @return boolean
     */
    boolean matches(final Class channelSelector);

    Class selector();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy