package fr.romainmoreau.gassensor.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer;
import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker;
import org.springframework.web.socket.config.annotation.StompEndpointRegistry;

@SpringBootApplication
@EnableWebSocketMessageBroker
public class GasSensorWebApplication extends AbstractWebSocketMessageBrokerConfigurer {
	@Override
	public void registerStompEndpoints(StompEndpointRegistry registry) {
		registry.addEndpoint("/stompEndpoint").withSockJS();
	}

	public static void main(String[] args) throws Exception {
		SpringApplication.run(GasSensorWebApplication.class, args);
	}
}

@@ -157,106 +157,8 @@
 on;%0A
-import org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer;%0A
 impo
@@ -317,16 +317,106 @@
 egistry;
+%0Aimport org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer;
 %0A%0A@Sprin
@@ -503,24 +503,19 @@
 ion 
-extend
+implement
 s 
-Abstract
 WebS

Fix deprecation