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

org.reactivecommons.async.starter.broker.BrokerProvider Maven / Gradle / Ivy

package org.reactivecommons.async.starter.broker;

import org.reactivecommons.api.domain.DomainEventBus;
import org.reactivecommons.async.api.DirectAsyncGateway;
import org.reactivecommons.async.commons.HandlerResolver;
import org.reactivecommons.async.starter.config.health.RCHealth;
import org.reactivecommons.async.starter.props.GenericAsyncProps;
import reactor.core.publisher.Mono;

@SuppressWarnings("rawtypes")
public interface BrokerProvider {
    T getProps();

    DomainEventBus getDomainBus();

    DirectAsyncGateway getDirectAsyncGateway(HandlerResolver resolver);

    void listenDomainEvents(HandlerResolver resolver);

    void listenNotificationEvents(HandlerResolver resolver);

    void listenCommands(HandlerResolver resolver);

    void listenQueries(HandlerResolver resolver);

    void listenReplies(HandlerResolver resolver);

    Mono healthCheck();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy