nielsutrecht / spring-boot-websocket-client

Demonstrates a Spring Boot Websocket + Stomp service with both a JavaScript and Java client
MIT License
99 stars 58 forks source link

Websocket Connection to an external Url Server #3

Open amonemian opened 6 years ago

amonemian commented 6 years ago

Hi dear Niels,

As I understood, you are aware of the routing path in Server side. (session.subscribe("/topic/greetings", this)) I want to establish a websocket connection to an external websocket server url (I don't have access to the server). I have already implemented a javax.websocket ClientEndpoint which can correctly connect to the server, but I want to handle it via Spring (the persistent connection in web).

I have visited different pages like you, which simply created a client-server connection, with the specific server routes and subscriptions . But the problem is I want to just make a persistent websocket via Spring, without the knowledge from the server paths.

alanraimondi commented 2 years ago

Hi amonemian, I have the same issue. Have you resolved it?, many thanks.