public class RouteToEBServiceHandlerImpl extends Object implements RouteToEBServiceHandler
| Constructor and Description |
|---|
RouteToEBServiceHandlerImpl(EventBus eventBus,
String address,
DeliveryOptions deliveryOptions) |
| Modifier and Type | Method and Description |
|---|---|
RouteToEBServiceHandlerImpl |
extraPayloadMapper(Function<RoutingContext,JsonObject> extraPayloadMapper)
When
extraPayloadMapper is configured, this handler puts the evaluation result into ServiceRequest.getExtra() |
void |
handle(RoutingContext routingContext)
Something has happened, so handle it.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, buildpublic RouteToEBServiceHandlerImpl(EventBus eventBus, String address, DeliveryOptions deliveryOptions)
public void handle(RoutingContext routingContext)
Handlerhandle in interface Handler<RoutingContext>routingContext - the event to handlepublic RouteToEBServiceHandlerImpl extraPayloadMapper(Function<RoutingContext,JsonObject> extraPayloadMapper)
RouteToEBServiceHandlerextraPayloadMapper is configured, this handler puts the evaluation result into ServiceRequest.getExtra()extraPayloadMapper in interface RouteToEBServiceHandlerextraPayloadMapper - mapperCopyright © 2021. All rights reserved.