public class EventbusBridgeBlockingRequest extends Object
| Constructor and Description |
|---|
EventbusBridgeBlockingRequest(String methodId,
io.vertx.core.eventbus.Message<Object> requestmessage,
VxmsShared vxmsShared,
Throwable failure,
java.util.function.Consumer<Throwable> errorMethodHandler)
Pass all members to execute the chain
|
| Modifier and Type | Method and Description |
|---|---|
EventbusBridgeBlockingResponse |
send(String id,
Object message)
Send message and perform (blocking) task on reply
|
EventbusBridgeBlockingResponse |
send(String id,
Object message,
io.vertx.core.eventbus.DeliveryOptions requestOptions)
Send message and perform (blocking) task on reply
|
public EventbusBridgeBlockingRequest(String methodId, io.vertx.core.eventbus.Message<Object> requestmessage, VxmsShared vxmsShared, Throwable failure, java.util.function.Consumer<Throwable> errorMethodHandler)
methodId - the method identifierrequestmessage - the message to respondevxmsShared - the vxmsShared instance, containing the Vertx instance and other shared
objects per instancefailure - the vertx instanceerrorMethodHandler - the error-method handlerpublic EventbusBridgeBlockingResponse send(String id, Object message)
id - the target id to send tomessage - the message to sendEventbusBridgeBlockingResponsepublic EventbusBridgeBlockingResponse send(String id, Object message, io.vertx.core.eventbus.DeliveryOptions requestOptions)
id - the target id to send tomessage - the message to sendrequestOptions - the delivery options for the event bus requestEventbusBridgeBlockingResponseCopyright © 2017. All rights reserved.