fabric8-quickstarts / vertx-web

Vert.x quickstart
Apache License 2.0
2 stars 11 forks source link

Simple welcome http endpoint with vertx-web #1

Closed tsegismont closed 7 years ago

tsegismont commented 7 years ago

To try it run:

mvn clean package
java -Dvertx.metrics.options.enabled=true -Dvertx.metrics.options.jmxEnabled=true -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4jLogDelegateFactory -Dvertx.metrics.options.jmxDomain=vertx-simple-web  -jar target/vertx-simplest-1.0-SNAPSHOT.jar
curl http://localhost:8080/?welcome=Roland && echo

You will find an MBean with name vertx.verticles.io.vertx.example.SimpleWeb, with a Counter attribute. A value of 1 will indicate the verticle was successfully deployed

rhuss commented 7 years ago

Thanks a lot !! ;-)

tsegismont commented 7 years ago

You're welcome :)