Search in sources :

Example 1 with GatewayKnotProxyImpl

use of io.knotx.gateway.impl.GatewayKnotProxyImpl in project knotx by Cognifide.

the class GatewayKnotVerticle method start.

@Override
public void start() throws Exception {
    LOGGER.info("Starting <{}>", this.getClass().getSimpleName());
    // register the service proxy on event bus
    serviceBinder = new ServiceBinder(getVertx());
    consumer = serviceBinder.setAddress(configuration.getAddress()).register(KnotProxy.class, new GatewayKnotProxyImpl());
}
Also used : ServiceBinder(io.vertx.serviceproxy.ServiceBinder) KnotProxy(io.knotx.proxy.KnotProxy) GatewayKnotProxyImpl(io.knotx.gateway.impl.GatewayKnotProxyImpl)

Aggregations

GatewayKnotProxyImpl (io.knotx.gateway.impl.GatewayKnotProxyImpl)1 KnotProxy (io.knotx.proxy.KnotProxy)1 ServiceBinder (io.vertx.serviceproxy.ServiceBinder)1