Restore userSessionRegistry field in StompSubProtocolHandler
This change ensures that the deprecated UserSessionRegistry is still used if configured.
This commit is contained in:
@@ -52,7 +52,7 @@ public class WebMvcStompEndpointRegistryTests {
|
||||
|
||||
WebSocketTransportRegistration transport = new WebSocketTransportRegistration();
|
||||
TaskScheduler scheduler = Mockito.mock(TaskScheduler.class);
|
||||
this.endpointRegistry = new WebMvcStompEndpointRegistry(this.webSocketHandler, transport, scheduler);
|
||||
this.endpointRegistry = new WebMvcStompEndpointRegistry(this.webSocketHandler, transport, null, scheduler);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user