1

I am connecting to a Spring Boot RSocket app from RSocket-Java. In the server I have @MessageMapping. how do I access RSocket Payload on Server.

user3549576
  • 99
  • 1
  • 4
  • 17
  • 1
    Could you please attach an example to give more advanced answer? Also for getting payload you need to annotate emthod parameter via @Payload annotation or use Message message class should be spring import not javax.jms and execute message.getPayload() – Mykhailo Moskura Apr 12 '20 at 18:41

1 Answers1

0

@Payload works thanks. Closing this question, although, it doesn't work when Metadata is present in DefaultPayload. I have posted that as separate question.

user3549576
  • 99
  • 1
  • 4
  • 17