diff options
author | Vitaly Takmazov | 2016-11-15 15:56:06 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-15 15:56:06 +0300 |
commit | 2cfabeab2e64a1b8b6db32a0135a2fce06bc87ab (patch) | |
tree | 65790951a6b43e436f8bfc742cc3a81cbeeb7b2c /juick-notifications/src/main/java/com/juick/components/configuration | |
parent | 1c65b6d29c0fc69d861ffa0e624f73981b62cca6 (diff) |
all components using babbler now, only juick-xmpp uses ugnich xmpp
Diffstat (limited to 'juick-notifications/src/main/java/com/juick/components/configuration')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java index 1974830a..c17587ac 100644 --- a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java +++ b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java @@ -10,8 +10,6 @@ import org.springframework.core.env.Environment; import org.springframework.web.client.RestTemplate; import javax.inject.Inject; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; /** * Created by aalexeev on 11/12/16. @@ -30,11 +28,6 @@ public class NotificationsAppConfiguration { @Bean public Notifications push() { - return new Notifications(env, service(), rest()); - } - - @Bean - public ExecutorService service() { - return Executors.newCachedThreadPool(); + return new Notifications(env, rest()); } } |