| Package | Description |
|---|---|
| org.jacpfx.vertx.event.eventbus.blocking | |
| org.jacpfx.vertx.event.response | |
| org.jacpfx.vertx.event.response.blocking | |
| org.jacpfx.vertx.event.util |
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusStringResponse |
EventbusBridgeBlockingResponse.mapToStringResponse(ThrowableFunction<io.vertx.core.AsyncResult<io.vertx.core.eventbus.Message<Object>>,String> stringFunction)
Maps the event-bus response to a String response for the REST request
|
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusStringResponse |
EventbusResponseBlocking.stringResponse(ThrowableSupplier<String> stringSupplier)
Retunrs a String to the target type
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExecuteEventbusStringCircuitBreaker
Created by Andy Moncsek on 12.01.16.
|
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusStringResponse |
ExecuteEventbusStringCircuitBreaker.closeCircuitBreaker(long circuitBreakerTimeout)
Define a timeout to release the stateful circuit breaker.
|
ExecuteEventbusStringResponse |
ExecuteEventbusStringResponse.delay(long delay)
Defines the delay (in ms) between the createResponse retries (on error).
|
ExecuteEventbusStringResponse |
ExecuteEventbusStringResponse.onError(java.util.function.Consumer<Throwable> errorHandler)
intermediate error handler which will be called on each error (at least 1 time, in case on N
retries... up to N times)
|
ExecuteEventbusStringResponse |
ExecuteEventbusStringResponse.timeout(long timeout)
Defines how long a method can be executed before aborted.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecuteEventbusStringResponse |
EventbusStringExecutionBlockingUtil.mapToStringResponse(String _methodId,
String _targetId,
Object _message,
ThrowableFunction<io.vertx.core.AsyncResult<io.vertx.core.eventbus.Message<Object>>,String> _stringFunction,
io.vertx.core.eventbus.DeliveryOptions _requestDeliveryOptions,
VxmsShared _vxmsShared,
Throwable _failure,
java.util.function.Consumer<Throwable> _errorMethodHandler,
io.vertx.core.eventbus.Message<Object> _requestMessage,
ThrowableSupplier<String> _stringSupplier,
java.util.function.Consumer<Throwable> _errorHandler,
ThrowableFunction<Throwable,String> _onFailureRespond,
io.vertx.core.eventbus.DeliveryOptions _responseDeliveryOptions,
int _retryCount,
long _timeout,
long _delay,
long _circuitBreakerTimeout)
create execution chain for event-bus request and reply to the event
|
Copyright © 2017. All rights reserved.