// ...
@Inject
MeshRestClientProvider meshClientProvider;
// ...
@Override
public void handle(RoutingContext rc) {
MeshRestClient client = meshClientProvider.get(rc);
client.getApiInfo().toSingle().subscribe(info -> {
log.info("Connected to Mesh version {}", info.getMeshVersion());
});
}