Fix typo in documentation

See gh-22394
master
Rossen Stoyanchev 6 years ago
parent fe0c2d6b6e
commit 620a898e60
  1. 4
      src/docs/asciidoc/web/websocket.adoc

@ -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) {

Loading…
Cancel
Save