vertx-stomp
vertx-stomp copied to clipboard
STOMP client can't connect to STOMP server with non root path
Describe the feature
We have a STOMP server, that is created on some path, for example localhost:8080/watchApi/myStompServer
It is often case when API Gateway approach used in microservice communication.
I have seen the similar ticket https://github.com/vert-x3/vertx-stomp/issues/8 , but using non root path was added for STOMP server, not for STOMP client.
I would prefer to connect using the next way:
StompClientConnection stompClientConnection = StompClient.create(vertx).connect(80, "loclahost", "/watchApi/myStompServer").result(); stompClientConnection.subscribe("/foo", ... );
which is very common for websocket.
@AntonPozdeev it will be very helpful to use Vert.x for communication via stomp subprotocol, not only for raw websocket usecase
Hi. Is this issue resolved? Is there any way to connect to Server with non root path?