How to handle Spring Websockets (stomp) with balanced multi-sever

244 views Asked by At

I have a single tomcat server with a Spring application with Stomp.

It uses websockets to notify to subscriber clients some events.

enter image description here

I would like to move the server structure to a balanced multi-server, but my question is: what will happend to websocket clients? They will be notified only by their server!

enter image description here

How can I solve this problem? Is there something already developed to solve this scenario?

0

There are 0 answers