Location of Java RSocket Fire And Forget send Payload to other connect client

85 Views Asked by At

I make some project use RSocket, and i refer that post, I want know where implement code send Message to other client logic.

    @MessageMapping("send")
    public Mono<Void> sendMessage(String p) {
        return this.messages.save(new Message(p, Instant.now())).log().then();
    }

    @MessageMapping("messages")
    public Flux<Message> messageStream() {
        return this.messages.getMessageBy().log();
    }

My project link I search Docs, Post... but no Information :((

0

There are 0 best solutions below