It should not be a problem for you you just have to autoReconnect when user back if you're using a js client (like this one @stomp/stompjs ) this should be done automatically