Merge branch '5.1.x'

This commit is contained in:
Rossen Stoyanchev
2019-03-11 09:23:23 -04:00
2 changed files with 16 additions and 2 deletions

View File

@@ -662,8 +662,8 @@ The following example shows how to do so in Java configuration:
[subs="verbatim,quotes"]
----
@Configuration
@EnableWebSocket
public class WebSocketConfig implements WebSocketConfigurer {
@EnableWebSocketMessageBroker
public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
@Override
public void registerStompEndpoints(StompEndpointRegistry registry) {