Search in sources :

Example 1 with HttpActionAdapterProxyImpl

use of io.knotx.adapter.action.http.impl.HttpActionAdapterProxyImpl in project knotx by Cognifide.

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

Aggregations

HttpActionAdapterProxyImpl (io.knotx.adapter.action.http.impl.HttpActionAdapterProxyImpl)1 AdapterProxy (io.knotx.proxy.AdapterProxy)1 ServiceBinder (io.vertx.serviceproxy.ServiceBinder)1