In vert.x I can send a message to another verticle and "wait asynchronously" for the reply.
The problem is: I want to send messages to multiple verticles and make an async handler to be called when all verticles replied.
Is this possible or is there a better design for achieving this functionality?
EDIT:
Supose I have a verticle A which sends messages to verticles B,C and D. Each verticle (B,C,D) do something with the message and return A some data. The verticle A then receives the response from B,C,D and does something with all the data. The problem is I have a handler for each message I send (one for A, one for B, one for C), I want one handler to be called when all the replies arrived.