Websocket Postman
I just wanted to check if someone notice anything wrong in my code.
Basically, what I want to do is that when a new user registers, I want the admins to be notified with "New user has been registered", but I want to do it in real-time using WebSocket.
I'm testing my WebSocket URL ws://localhost:8080/ws, and I successfully connect to it. I also subscribe to the destination:
which works fine. But when I register a new user, I don't receive the message in the destination, even though I see it in the terminal
hahaha.
It's weird, but I just wanted to check if someone notice anything off.
WebsocketConfig
NotificationService
AuthService
Basically, what I want to do is that when a new user registers, I want the admins to be notified with "New user has been registered", but I want to do it in real-time using WebSocket.
I'm testing my WebSocket URL ws://localhost:8080/ws, and I successfully connect to it. I also subscribe to the destination:
which works fine. But when I register a new user, I don't receive the message in the destination, even though I see it in the terminal
It's weird, but I just wanted to check if someone notice anything off.
WebsocketConfig
NotificationService
AuthService

