Brian Clozel opened SPR-11568 and commented
When configuring a sockjs stomp-endpoint using XML, the custom HandshakeHandler is not set.
This custom HandshakeHandler should be set in a WebsocketTransportHandler (itself added to the list of transport overrides when creating the instance of the socksJsService).
Affects: 4.0.2
Reference URL: https://stackoverflow.com/questions/22447794/spring-websocket-set-handshake-handler-interceptor
Referenced from: commits 2630983