I am trying to come up with a solution that requires subscribing to websocket in a 3rd party server.
The thing is I need to listen to this in the server-side, not on client side. So somehow I need to keep this connection alive in my server (java) and listen to the websocket messages, which would then trigger something else.
I am a bit lost on how to achieve that and best patterns as apparently this is not really common.
Do you have suggestions on how should this be done?