Ejemplo de springboot-websocket
- git clone https://github.com/arellano-gustavo/springboot-websocket.git
- cd springboot-websocket
- mvn -U clean package
- java -jar target/springboot-websocket-1.0-SNAPSHOT.jar
- Go to: http://localhost:8080/user in different browsers (Chrome, Safari, Firefox, etc) simultaneously and start a session in every one of them.
- Send different texts in every browser
- Check that every other browser is getting the other's text
- Check that every 2 minutes a message is broadcasted to every browser
Happy coding !!!!