Skip to content

Instantly share code, notes, and snippets.

@fabiojose
Last active May 15, 2019 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabiojose/b9c39e3377cc54f000a88db0ebee5219 to your computer and use it in GitHub Desktop.
Save fabiojose/b9c39e3377cc54f000a88db0ebee5219 to your computer and use it in GitHub Desktop.
MyCoreClass
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