Error:Consider defining a bean of type ‘org.springframework.messaging.simp.SimpMessagingTemplate’ in your configuration
I am trying to run my application but its giving me this error. It says I need to configure my SimpMessagingTemplate
but when I tried @Autowire
it still didn’t work how can i solve this problem
Error:Consider defining a bean of type ‘org.springframework.messaging.simp.SimpMessagingTemplate’ in your configuration
I am trying to run my application but its giving me this error. It says I need to configure my SimpMessagingTemplate
but when I tried @Autowire
it still didn’t work how can i solve this problem
@SendToUser does not work, but convertAndSendToUser works
@SendToUser
doesn’t send messages to given path, but convertAndSendToUser()
do. I checked the client side and it subscribes correctly. I expect @SendToUser
in RoomExceptionHandler to send errors when he catches them to /user/queue/errors
, but for some reason it doesn’t.