diff --git a/src/docs/asciidoc/web/websocket.adoc b/src/docs/asciidoc/web/websocket.adoc index 3a7f50df11295c36d598bfd755695ce560d1d950..b5683c7f624a0010edd205783087bba34d713385 100644 --- a/src/docs/asciidoc/web/websocket.adoc +++ b/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) {