Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .match(String.class, (s) -> {
- //todo: if we recieve a string we need to ping it to all the pingpongers
- //todo: listening on the topig "pingpong"
- mediator.tell(new DistributedPubSubMediator.Publish
- ("pingpong", new PingMessage(s)), getSelf());
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement