Search in sources :

Example 1 with ResponseProviderKnotProxyImpl

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

the class ResponseProviderKnotVerticle method start.

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

Aggregations

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