Search in sources :

Example 1 with ServiceKnotProxyImpl

use of io.knotx.knot.service.impl.ServiceKnotProxyImpl in project knotx by Cognifide.

the class ServiceKnotVerticle 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 ServiceKnotProxyImpl(vertx, configuration));
}
Also used : ServiceBinder(io.vertx.serviceproxy.ServiceBinder) KnotProxy(io.knotx.proxy.KnotProxy) ServiceKnotProxyImpl(io.knotx.knot.service.impl.ServiceKnotProxyImpl)

Aggregations

ServiceKnotProxyImpl (io.knotx.knot.service.impl.ServiceKnotProxyImpl)1 KnotProxy (io.knotx.proxy.KnotProxy)1 ServiceBinder (io.vertx.serviceproxy.ServiceBinder)1