List of usage examples for io.vertx.core.dns AddressResolverOptions AddressResolverOptions
public AddressResolverOptions(JsonObject json)
From source file:me.bayes.vertx.spring.boot.VertxAutoConfiguration.java
License:Apache License
@Bean public AddressResolverOptions addressResolverOptions(final VertxAddressResolverProperties properties) { final String propertyJson = Json.encode(properties); LOG.info("Loaded vertx address resolver properties '{}'.", propertyJson); final JsonObject config = new JsonObject(propertyJson); final AddressResolverOptions options = new AddressResolverOptions(config); return options; }