diff options
Diffstat (limited to 'juick-server-web/src/main/java/com/juick')
-rw-r--r-- | juick-server-web/src/main/java/com/juick/server/configuration/JuickServerWebsocketConfiguration.java (renamed from juick-server-web/src/main/java/com/juick/server/configuration/JuickServerComponentConfiguration.java) | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/juick-server-web/src/main/java/com/juick/server/configuration/JuickServerComponentConfiguration.java b/juick-server-web/src/main/java/com/juick/server/configuration/JuickServerWebsocketConfiguration.java index a2df26fc..6790a7c9 100644 --- a/juick-server-web/src/main/java/com/juick/server/configuration/JuickServerComponentConfiguration.java +++ b/juick-server-web/src/main/java/com/juick/server/configuration/JuickServerWebsocketConfiguration.java @@ -29,8 +29,8 @@ import java.util.List; @Lazy @Configuration @EnableScheduling -public class JuickServerComponentConfiguration { - private static final Logger logger = LoggerFactory.getLogger(JuickServerComponentConfiguration.class); +public class JuickServerWebsocketConfiguration { + private static final Logger logger = LoggerFactory.getLogger(JuickServerWebsocketConfiguration.class); @Value("${websocket_url:ws://localhost:8080/}") private String baseUri; @Value("${api_user:juick}") @@ -63,7 +63,6 @@ public class JuickServerComponentConfiguration { String websocketURI = UriComponentsBuilder.fromUriString(baseUri) .queryParam("hash", hash).build().toUriString(); WebSocketConnectionManager manager = new WebSocketConnectionManager(client(), juickServerComponent, websocketURI); - manager.setAutoStartup(true); return manager; } @Bean |