diff options
author | Vitaly Takmazov | 2017-01-12 22:45:41 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-01-12 22:45:41 +0300 |
commit | fd8832275421bf2c6f17947aefa236bd65ef1650 (patch) | |
tree | b80a77e837f8c17f33b78ed603976fa3a2b11131 /juick-api/src/main/java/com/juick/api/configuration | |
parent | ffc944ae8cf95dd90b752444a6ce16b011bcd81e (diff) |
telegram: ping websocket
Diffstat (limited to 'juick-api/src/main/java/com/juick/api/configuration')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/configuration/ApiAppConfiguration.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-api/src/main/java/com/juick/api/configuration/ApiAppConfiguration.java b/juick-api/src/main/java/com/juick/api/configuration/ApiAppConfiguration.java index 1781f5a6..5ca1def1 100644 --- a/juick-api/src/main/java/com/juick/api/configuration/ApiAppConfiguration.java +++ b/juick-api/src/main/java/com/juick/api/configuration/ApiAppConfiguration.java @@ -7,6 +7,7 @@ import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import org.springframework.core.env.Environment; +import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.web.socket.client.WebSocketConnectionManager; import org.springframework.web.socket.client.standard.StandardWebSocketClient; @@ -16,6 +17,7 @@ import javax.inject.Inject; * Created by aalexeev on 11/12/16. */ @Configuration +@EnableScheduling @PropertySource("classpath:juick.conf") public class ApiAppConfiguration { @Inject |