Search in sources :

Example 1 with HttpServiceAdapterProxyImpl

use of io.knotx.adapter.service.http.impl.HttpServiceAdapterProxyImpl in project knotx by Cognifide.

the class HttpServiceAdapterVerticle 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(AdapterProxy.class, new HttpServiceAdapterProxyImpl(vertx, configuration));
}
Also used : HttpServiceAdapterProxyImpl(io.knotx.adapter.service.http.impl.HttpServiceAdapterProxyImpl) ServiceBinder(io.vertx.serviceproxy.ServiceBinder) AdapterProxy(io.knotx.proxy.AdapterProxy)

Aggregations

HttpServiceAdapterProxyImpl (io.knotx.adapter.service.http.impl.HttpServiceAdapterProxyImpl)1 AdapterProxy (io.knotx.proxy.AdapterProxy)1 ServiceBinder (io.vertx.serviceproxy.ServiceBinder)1