callicoder / spring-boot-websocket-chat-demo

Spring Boot WebSocket Chat Demo with SockJS fallback and STOMP protocol
https://www.callicoder.com/spring-boot-websocket-chat-example/
1.05k stars 640 forks source link

Save in session #9

Open sarrek opened 4 years ago

sarrek commented 4 years ago

Hello, Thanks for your job is great ! Any way to save stompClient and messages in session ?

If i refresh page, i want to see old messages and my username stored (directly chat form)

Cheers.

Rajat-Jain29 commented 3 years ago

Hello , I have one doubt like I want to send the data or pushes the data to websocket . how can I do that ? like There is one service in I hit that service then all the data is send to websocket I want this is it possible to send all the data to websocket in spring boot ? Please help me . Thanks in advance.

soumenprogramming commented 4 months ago

I want to store the data like all the details in the database can u check upon this? By the way great job