
org.reactivecommons.async.api.DirectAsyncGateway 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 io.cloudevents.CloudEvent;
import org.reactivecommons.api.domain.Command;
import reactor.core.publisher.Mono;
public interface DirectAsyncGateway {
public static final String DELAYED = "rc-delay";
Mono sendCommand(Command command, String targetName);
Mono sendCommand(Command command, String targetName, long delayMillis);
Mono sendCommand(Command command, String targetName, String domain);
Mono sendCommand(Command command, String targetName, long delayMillis, String domain);
Mono sendCommand(CloudEvent command, String targetName);
Mono sendCommand(CloudEvent command, String targetName, long delayMillis);
Mono sendCommand(CloudEvent command, String targetName, String domain);
Mono sendCommand(CloudEvent command, String targetName, long delayMillis, String domain);
Mono requestReply(AsyncQuery query, String targetName, Class type);
Mono requestReply(AsyncQuery query, String targetName, Class type, String domain);
Mono requestReply(CloudEvent query, String targetName, Class type);
Mono requestReply(CloudEvent query, String targetName, Class type, String domain);
Mono reply(T response, From from);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy