public class EventbusBridgeRequest extends Object
| Constructor and Description |
|---|
EventbusBridgeRequest(String methodId,
VxmsShared vxmsShared,
Throwable failure,
Consumer<Throwable> errorMethodHandler,
io.vertx.core.eventbus.Message<Object> requestmessage)
Pass all members to execute the chain
|
| Modifier and Type | Method and Description |
|---|---|
EventbusBridgeResponse |
send(String id,
Object message)
Send message and perform (blocking) task on reply
|
EventbusBridgeResponse |
send(String id,
Object message,
io.vertx.core.eventbus.DeliveryOptions requestOptions)
Send message and perform (blocking) task on reply
|
public EventbusBridgeRequest(String methodId, VxmsShared vxmsShared, Throwable failure, Consumer<Throwable> errorMethodHandler, io.vertx.core.eventbus.Message<Object> requestmessage)
methodId - the method identifiervxmsShared - the vxmsShared instance, containing the Vertx instance and other shared
objects per instancefailure - the vertx instanceerrorMethodHandler - the error-method handlerrequestmessage - the message to respondepublic EventbusBridgeResponse send(String id, Object message)
id - the target id to send tomessage - the message to sendEventbusBridgeResponsepublic EventbusBridgeResponse send(String id, Object message, io.vertx.core.eventbus.DeliveryOptions requestOptions)
id - the target id to send tomessage - the message to sendrequestOptions - the delivery serverOptions for the event bus requestEventbusBridgeResponseCopyright © 2017. All rights reserved.