@FunctionalInterface public interface ExecuteEventbusObjectCallBlocking
| 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,
Encoder encoder,
java.util.function.Consumer<Throwable> errorHandler,
ThrowableFunction<Throwable,Serializable> onFailureRespond,
io.vertx.core.eventbus.DeliveryOptions responseDeliveryOptions,
int retryCount,
long timeout,
long delay,
long circuitBreakerTimeout)
Execute chain when event-bus response handler is executed
|
void execute(String methodId, io.vertx.core.Vertx vertx, java.util.function.Consumer<Throwable> errorMethodHandler, io.vertx.core.eventbus.Message<Object> requestMessage, Encoder encoder, java.util.function.Consumer<Throwable> errorHandler, ThrowableFunction<Throwable,Serializable> onFailureRespond, io.vertx.core.eventbus.DeliveryOptions responseDeliveryOptions, int retryCount, long timeout, long delay, long circuitBreakerTimeout)
methodId - the method identifiervertx - the vertx instanceerrorMethodHandler - the error-method handlerrequestMessage - the message to replyencoder - the encoder to serialize te response messageerrorHandler - 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 retrydelay - 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.