Differences

This shows you the differences between two versions of the page.

Link to this comparison view

irc:1483916400 [2017/05/27 13:44] (current)
Line 1: Line 1:
 +[11:53:57] <​laudatio>​ hi terhe
 +
 +[11:54:00] <​laudatio>​ there
 +
 +[13:33:31] <​laudatio>​ Is there any possibility to recognize if another verticle is online? if there is, how you managed that?
 +
 +[13:34:15] <​laudatio>​ hi
 +
 +[13:34:52] <​laudatio>​ is there any possibility to recognize that another verticle is online? if there is, how?
 +
 +[13:35:27] <​laudatio>​ lets say i have verticle A and B and A want to know if B is there
 +
 +[14:08:31] <​xkr47>​ laudatio, hi
 +
 +[14:10:49] <​xkr47>​ laudatio, I'm just a normal user, but to me it seems that verticle details are only available by casting the vertx instance to the VertxInternal interface..
 +
 +[14:13:02] <​xkr47>​ laudatio, so like: for(String deploymentId : vertx.deploymentIDs()) { Deployment deployment = ((VertxInternal)vertx).getDeployment(deploymentId);​ /* check contents of "​deployment"​ */ }
 +
 +[14:13:49] <​xkr47>​ laudatio, where the "​Deployment"​ interface contains: https://​github.com/​eclipse/​vert.x/​blob/​master/​src/​main/​java/​io/​vertx/​core/​impl/​Deployment.java
 +
 +[14:16:07] <​xkr47>​ laudatio, to me your request doesn'​t sound completely unreasonable,​ so if you can get it to work with the unofficial interfaces I suggested then perhaps you could file an issue or even a pull request to expose more information to the end user...