| Package | Description |
|---|---|
| org.jacpfx.vxms.event.eventbus.basic | |
| org.jacpfx.vxms.event.response | |
| org.jacpfx.vxms.event.response.basic | |
| org.jacpfx.vxms.event.util |
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusByteResponse |
EventbusBridgeResponse.mapToByteResponse(ThrowableFutureBiConsumer<io.vertx.core.AsyncResult<io.vertx.core.eventbus.Message<Object>>,byte[]> byteFunction)
Map Response from event-bus call to REST response
|
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusByteResponse |
EventbusResponse.byteResponse(ThrowableFutureConsumer<byte[]> byteConsumer)
Returns a byte array to the target type
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExecuteEventbusByteCircuitBreaker
Created by Andy Moncsek on 12.01.16.
|
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusByteResponse |
ExecuteEventbusByteCircuitBreaker.closeCircuitBreaker(long circuitBreakerTimeout)
Define a timeout to release the stateful circuit breaker.
|
ExecuteEventbusByteResponse |
ExecuteEventChainResponse.mapToByteResponse(ThrowableFutureBiConsumer<T,byte[]> step)
Returns a byte array to the target type
|
ExecuteEventbusByteResponse |
ExecuteEventbusByteResponse.onError(Consumer<Throwable> errorHandler)
This is an intermediate error method, the error will be passed along the chain (onFailurePass
or simply an error)
|
ExecuteEventbusByteResponse |
ExecuteEventbusByteResponse.onFailureRespond(ThrowableErrorConsumer<Throwable,byte[]> onFailureRespond)
defines an action for errors in byte responses, you can handle the error and return an
alternate createResponse value
|
ExecuteEventbusByteResponse |
ExecuteEventbusByteResponse.timeout(long timeout)
Defines how long a method can be executed before aborted.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecuteEventbusByteResponse |
EventbusByteExecutionUtil.mapToByteResponse(String _methodId,
String _targetId,
Object _message,
ThrowableFutureBiConsumer<io.vertx.core.AsyncResult<io.vertx.core.eventbus.Message<Object>>,byte[]> _byteFunction,
io.vertx.core.eventbus.DeliveryOptions _requestOptions,
VxmsShared _vxmsShared,
Throwable _failure,
Consumer<Throwable> _errorMethodHandler,
io.vertx.core.eventbus.Message<Object> _requestMessage,
ThrowableFutureConsumer<byte[]> _byteConsumer,
Consumer<Throwable> _errorHandler,
ThrowableErrorConsumer<Throwable,byte[]> _onFailureRespond,
io.vertx.core.eventbus.DeliveryOptions _responseDeliveryOptions,
int _retryCount,
long _timeout,
long _circuitBreakerTimeout)
create execution chain for event-bus request and reply to request event
|
Copyright © 2018. All rights reserved.