提交 620a898e 编写于 作者: R Rossen Stoyanchev

Fix typo in documentation

See gh-22394
上级 fe0c2d6b
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册