@FunctionalInterface public interface ExecuteEventbusByteCall
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String methodId,
io.vertx.core.Vertx vertx,
java.util.function.Consumer<Throwable> errorMethodHandler,
io.vertx.core.eventbus.Message<Object> requestMessage,
java.util.function.Consumer<Throwable> errorHandler,
ThrowableErrorConsumer<Throwable,byte[]> onFailureRespond,
io.vertx.core.eventbus.DeliveryOptions responseDeliveryOptions,
int retryCount,
long timeout,
long circuitBreakerTimeout)
Execute typed execution handling
|
void execute(String methodId, io.vertx.core.Vertx vertx, java.util.function.Consumer<Throwable> errorMethodHandler, io.vertx.core.eventbus.Message<Object> requestMessage, java.util.function.Consumer<Throwable> errorHandler, ThrowableErrorConsumer<Throwable,byte[]> onFailureRespond, io.vertx.core.eventbus.DeliveryOptions responseDeliveryOptions, int retryCount, long timeout, long circuitBreakerTimeout)
methodId - the method identifiervertx - the vertx instanceerrorMethodHandler - the error-method handlerrequestMessage - the message to responde toerrorHandler - the error handleronFailureRespond - the consumer that takes a Future with the alternate response value in case of failureresponseDeliveryOptions - the delivery options for the responseretryCount - the amount of retries before failure execution is triggeredtimeout - the delay time in ms between an execution error and the retrycircuitBreakerTimeout - the amount of time before the circuit breaker closed againCopyright © 2017. All rights reserved.