fix(gateway-vertx): Connector not being executed on Vert.x gateway.
Some recent changes meant #connect is no longer called within the connector itself, but should be
called from the enclosing factory. This was implemented on the Servlet version but seemingly not on
the Vert.x gateway.
@@ -97,7 +97,7 @@ public class ConnectorFactory implements IConnectorFactory {
setAttributesFromApiEndpointProperties(api, httpOptions);
// Get from cache
HttpClient client = clientFromCache(httpOptions);
- return new HttpConnector(vertx, client, request, api, httpOptions, resultHandler);
+ return new HttpConnector(vertx, client, request, api, httpOptions, resultHandler).connect();
};
}
