/websocket-stomp-user-queues

A little Spring Boot application to demonstrate the use of several technologies and techniques

Primary LanguageJavaApache License 2.0Apache-2.0

Spring WebSocket/STOMP with User Queues

This is a little Spring Boot application to demonstrate the use of several technologies and techniques:

To use this Spring Boot application, you will need to also run a STOMP-enabled RabbitMQ instance, which can be easily done using:

docker run -d --name rabbitmq -p 61613:61613 -p 5672:5672 -p 15672:15672 itzg/rabbitmq-stomp

or

docker-compose up

If your RabbitMQ instance/container is running on another host (virtual or external), pass --spring.rabbitmq.host=HOST to override the default value of "localhost".

Being a Spring Application, one of several ways to run it is by using:

./mvnw spring-boot:run

or on Windows

.\mvnw.cmd spring-boot:run