add vertx sample code