de.otto.synapse.endpoint.MessageInterceptorRegistry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of synapse-core Show documentation
Show all versions of synapse-core Show documentation
A library used at otto.de to implement Spring Boot based event-sourcing microservices.
package de.otto.synapse.endpoint;
import com.google.common.collect.ImmutableList;
import jakarta.annotation.Nonnull;
import org.springframework.core.OrderComparator;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import static com.google.common.collect.ImmutableList.toImmutableList;
import static java.util.Collections.synchronizedList;
public class MessageInterceptorRegistry {
private final static Comparator