WebSocket provides a bi-directional, full-duplex communication channel between a server and client and is a key feature in modern web apps. We have already discussed a lot about WebSockets in my previous articles but in this article, we will specifically discuss creating WebSocket connections over an API gateway with STOMP protocol. The API gateway that we will use is Spring Cloud Gateway and we will have a downstream microservice as notification service that will have all the WebSockets implementation. This example app can also be used to demonstrate a simple client-server chat system.
#Spring #Java #springcloud