Fix typo in documentation

See gh-22394
This commit is contained in:
Rossen Stoyanchev
2019-03-11 08:42:23 -04:00
parent fe0c2d6b6e
commit 620a898e60

View File

@@ -695,8 +695,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) {