yazi-t / spring-web-socket-chat Goto Github PK
View Code? Open in Web Editor NEWSample chat application with spring web socket, Sock Js and Stomp protocol
Sample chat application with spring web socket, Sock Js and Stomp protocol
Hi,
Currently two online users let says user1 & user2 chatting with each other meanwhile user3 becomes online and clicked to chat with user2 then message send from user3 is appearing in user1 and user2 form.
Can you please help me how to maintain separate form for each pair of active users ?
Thanks!
Rajiv.
Hi,
Currently, if the user is NOT connected via a websocket to the server - all the messages for him are not being en-queued for him, they simply discarded. whenever he connects - fresh messages are being en-queued for him. Is it possible for me to "convertAndSendToUser" a message to an offline user in any way? i would like to en-queue messages with an expired time for offline users to be later on pushed when they are connecting again.
could you please help me how can i achieve that?
Thanks!
Rajiv.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.