From b7a9ef49d2f5b27895e584352864501a99e4b20f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=E5=98=89=E9=98=B3?= Date: Sun, 10 Jun 2018 09:29:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=BC=83=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../top/fjy8018/websocket/config/WebSocketStompConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/top/fjy8018/websocket/config/WebSocketStompConfig.java b/src/main/java/top/fjy8018/websocket/config/WebSocketStompConfig.java index 4129b90..134fc05 100644 --- a/src/main/java/top/fjy8018/websocket/config/WebSocketStompConfig.java +++ b/src/main/java/top/fjy8018/websocket/config/WebSocketStompConfig.java @@ -2,9 +2,9 @@ package top.fjy8018.websocket.config; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.simp.config.MessageBrokerRegistry; -import org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer; import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker; import org.springframework.web.socket.config.annotation.StompEndpointRegistry; +import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer; /** * @author F嘉阳 @@ -12,7 +12,7 @@ import org.springframework.web.socket.config.annotation.StompEndpointRegistry; */ @Configuration @EnableWebSocketMessageBroker -public class WebSocketStompConfig extends AbstractWebSocketMessageBrokerConfigurer { +public class WebSocketStompConfig implements WebSocketMessageBrokerConfigurer { /** * 注册stomp的端点 */