File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/techprimers/springbootwebsocketexample/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import org .springframework .context .annotation .Configuration ;
4
4
import org .springframework .messaging .simp .config .MessageBrokerRegistry ;
5
- import org .springframework .web .socket .config .annotation .AbstractWebSocketMessageBrokerConfigurer ;
5
+ import org .springframework .web .socket .config .annotation .WebSocketMessageBrokerConfigurer ;
6
6
import org .springframework .web .socket .config .annotation .EnableWebSocketMessageBroker ;
7
7
import org .springframework .web .socket .config .annotation .StompEndpointRegistry ;
8
8
9
9
@ Configuration
10
10
@ EnableWebSocketMessageBroker
11
- public class WebSocketConfig extends AbstractWebSocketMessageBrokerConfigurer {
11
+ public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
12
12
@ Override
13
13
public void registerStompEndpoints (StompEndpointRegistry stompEndpointRegistry ) {
14
14
stompEndpointRegistry .addEndpoint ("/websocket-example" )
You can’t perform that action at this time.
0 commit comments