public static <T> T createProxy(Class<T> clazz, Vertx vertx, String address, DeliveryOptions options) { return new ServiceProxyBuilder(vertx) .setAddress(address) .setOptions(options) .build(clazz); }
static TestService createProxyLongDelivery(Vertx vertx, String address) { DeliveryOptions options = new DeliveryOptions(); options.setSendTimeout(20*1000L); return new ServiceProxyBuilder(vertx).setAddress(address).setOptions(options).build(TestService.class); }