
org.reactivecommons.async.api.DynamicRegistry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of async-commons-api Show documentation
Show all versions of async-commons-api Show documentation
Abstract your broker with semantic async messages
The newest version!
package org.reactivecommons.async.api;
import org.reactivecommons.async.api.handlers.DomainEventHandler;
import org.reactivecommons.async.api.handlers.QueryHandler;
import org.reactivecommons.async.api.handlers.QueryHandlerDelegate;
import reactor.core.publisher.Mono;
public interface DynamicRegistry {
@Deprecated
Mono listenEvent(String eventName, DomainEventHandler fn, Class eventClass);
void serveQuery(String resource, QueryHandler handler, Class queryClass);
void serveQuery(String resource, QueryHandlerDelegate handler, Class queryClass);
Mono startListeningEvent(String eventName);
Mono stopListeningEvent(String eventName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy