-
Notifications
You must be signed in to change notification settings - Fork 492
Open
Description
With the latest version of Springboot and the websockets library (3.4.3) it seems that the server expects to receive "/websocket" to the registered endpoint.
As an example, registering "/ws":
registry.addEndpoint("/ws")
.setAllowedOrigins(origin)
.withSockJS();
Still requires the Stomp client to register "/ws/websocket" to handle the handshake correctly.
const stompClient = new StompJs.Client({
brokerURL: 'ws://localhost:9090/ws/websocket'
});
None of the current documentation mentions this, which makes me think there may have been a recent change in the library, although checking the source and commit history did not reveal anything. Is there another configuration option I am missing or is this intended behavior?
Metadata
Metadata
Assignees
Labels
No labels