移除弃用的方法

This commit is contained in:
2018-06-10 09:29:31 +08:00
parent 873f1d1090
commit b7a9ef49d2

View File

@@ -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的端点
*/