Class MessageController


  • @Controller
    @Profile("!test")
    public class MessageController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void connectChat​(long chatId, MessageDTO payload)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MessageController

        public MessageController()
    • Method Detail

      • connectChat

        @MessageMapping("/{chat_id}")
        public void connectChat​(@DestinationVariable("chat_id")
                                long chatId,
                                @Payload
                                MessageDTO payload)