Last active
May 15, 2019 17:42
-
-
Save fabiojose/b9c39e3377cc54f000a88db0ebee5219 to your computer and use it in GitHub Desktop.
MyCoreClass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyCoreClass extends AbstractVerticle { | |
@Override | |
public void start() { | |
vertx.eventBus() | |
.consumer("core", (message) -> { | |
vertx.eventBus().send("my", "get", handler -> { | |
message.reply("foo" + | |
handler.result().body().toString()); | |
}); | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment