Vertx Verticle gets undeployed if uncaught exception happens

346 Views Asked by At

I am deploying a TrendsVerticle "com.example.test.trends" and calling this from MainVerticle. Issue happens when some uncaught exception happens in TrendsVerticle, the next time when I call the API I get this error and my whole verticle gets un deployed.

{
 "status": "FAILURE",
 "reason": "(NO_HANDLERS,-1) No handlers for address com.example.test.trends"
}

Why this behavior? shouldn't Vertx just handle this and not remove my verticle.

0

There are 0 best solutions below