Meeting Room Booking Facility with WebSockets in Spring Boot App
/ws-prototype
/bot/booking
@MessageMapping(“/message/{uuid}”)
annotated methods/meetingroom
@SendTo("/meetingroom/{uuid}”)
will carry the message (whatever method returns) back to the clients, whoever subscribed to /meetingroom/{uuid}
Create a Bootable Jar
cd book-a-meeting-room
./gradlew clean build
Create a Docker Image (from Dockerfile)
docker build --no-cache -t book-a-meeting-room-app .
Run The Application
docker run -p 9000:8080 book-a-meeting-room-app
Application Should be Running at http://localhost:9000/