I am working on a system where I send messages to a server using web sockets. For this, I use vertx (without Rx) web sockets client with multiple verticles and the messages are stored in an internal queue. I wish to dequeue from the messaging queue and submit to a verticle is has the least load. To identify the verticle with least load I plan to use a ratio of number messages ack received to number messages sent. I understand vertx web sockets are async in nature. But is there a provision to use any of the provided handlers to parse the response which indicates the message had reached the server.
Please note: The communication is one way ie only from client to server and server is not on vertx, it uses plain netty Thanks in advance.