public class RouteToEBServiceHandler extends Object implements Handler<RoutingContext>
| Constructor and Description |
|---|
RouteToEBServiceHandler(EventBus eventBus,
String address,
DeliveryOptions deliveryOptions,
Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper) |
| Modifier and Type | Method and Description |
|---|---|
static RouteToEBServiceHandler |
build(EventBus eventBus,
String address,
String actionName,
Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper) |
static RouteToEBServiceHandler |
build(EventBus eventBus,
String address,
String actionName,
JsonObject deliveryOptions,
Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper) |
void |
handle(RoutingContext routingContext)
Something has happened, so handle it.
|
public RouteToEBServiceHandler(EventBus eventBus, String address, DeliveryOptions deliveryOptions, Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
public void handle(RoutingContext routingContext)
Handlerhandle in interface Handler<RoutingContext>routingContext - the event to handlepublic static RouteToEBServiceHandler build(EventBus eventBus, String address, String actionName, Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
public static RouteToEBServiceHandler build(EventBus eventBus, String address, String actionName, JsonObject deliveryOptions, Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
Copyright © 2020. All rights reserved.