On 25 juin 2015 at 19:28:29, Abhilash Krishnan (abhila...@gmail.com) wrote:
I am using java -jar my-fat.jar to start the <Main-Class>io.vertx.core.Starter</Main-Class>. It is running without any hassles.Now I want to shutdown the vert.x application by issuing a stop command from CLI. Please let me know how is it possible to achieve?
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/bCVZAvkoIk8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
Runtime.getRuntime().addShutdownHook(new Thread() {
public void run() {
// clean shutdown here...
}
});Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/24669d42-195e-4e0d-bb5f-45993c296c10%40googlegroups.com.