Search in sources :

Example 1 with HttpRepositoryConnectorProxyImpl

use of io.knotx.repository.impl.HttpRepositoryConnectorProxyImpl in project knotx by Cognifide.

the class HttpRepositoryConnectorVerticle 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(address).register(RepositoryConnectorProxy.class, new HttpRepositoryConnectorProxyImpl(vertx, config()));
}
Also used : ServiceBinder(io.vertx.serviceproxy.ServiceBinder) RepositoryConnectorProxy(io.knotx.proxy.RepositoryConnectorProxy) HttpRepositoryConnectorProxyImpl(io.knotx.repository.impl.HttpRepositoryConnectorProxyImpl)

Aggregations

RepositoryConnectorProxy (io.knotx.proxy.RepositoryConnectorProxy)1 HttpRepositoryConnectorProxyImpl (io.knotx.repository.impl.HttpRepositoryConnectorProxyImpl)1 ServiceBinder (io.vertx.serviceproxy.ServiceBinder)1