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

io.smallrye.reactive.messaging.ChannelRegistry Maven / Gradle / Ivy

There is a newer version: 4.27.0
Show newest version
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> register(String name, Publisher> stream,
            boolean broadcast);

    Subscriber> register(String name,
            Subscriber> 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