io.smallrye.reactive.messaging.ChannelRegistry Maven / Gradle / Ivy
package io.smallrye.reactive.messaging;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.eclipse.microprofile.reactive.messaging.Emitter;
import org.eclipse.microprofile.reactive.messaging.Message;
import org.reactivestreams.Publisher;
import org.reactivestreams.Subscriber;
public interface ChannelRegistry {
Publisher extends Message>> register(String name, Publisher extends Message>> stream,
boolean broadcast);
Subscriber extends Message>> register(String name,
Subscriber extends Message>> subscriber, boolean merge);
void register(String name, Emitter> emitter);
void register(String name, MutinyEmitter> emitter);
List>> getPublishers(String name);
Emitter> getEmitter(String name);
MutinyEmitter> getMutinyEmitter(String name);
List>> getSubscribers(String name);
Set getIncomingNames();
Set getOutgoingNames();
Set getEmitterNames();
Map getIncomingChannels();
Map getOutgoingChannels();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy