From a6e05ed6c2ad9d96d5d2b40a399e5c321fffb4e5 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 16 Nov 2016 12:43:16 +0300 Subject: juick-ws: threads are handled by babbler --- .../java/com/juick/ws/configuration/WebsocketAppConfiguration.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'juick-ws/src/main/java/com/juick/ws/configuration') diff --git a/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketAppConfiguration.java b/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketAppConfiguration.java index 9e2e4f6f..9824a30c 100644 --- a/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketAppConfiguration.java +++ b/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketAppConfiguration.java @@ -38,12 +38,7 @@ public class WebsocketAppConfiguration implements WebSocketConfigurer { @Bean public XMPPConnection ws() { - return new XMPPConnection(env, service(), wsHandler(), jdbc); - } - - @Bean - public ExecutorService service() { - return Executors.newCachedThreadPool(); + return new XMPPConnection(env, wsHandler(), jdbc); } @Override -- cgit v1.2.3