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.

The 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