diff options
author | Vitaly Takmazov | 2016-06-28 11:34:25 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-06-28 11:34:25 +0300 |
commit | a2faab09d3a8604ffe24dd337a3ab099f132e311 (patch) | |
tree | cc66a7f629579e62dea8034aecb4065c86adf6a3 /src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java | |
parent | f2387bcc06dca0bf3368f32a99a6ec74a7381ccd (diff) |
fix xmpp component wiring, take 2
Diffstat (limited to 'src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java')
-rw-r--r-- | src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java b/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java index 9fd75bb0..46ef8486 100644 --- a/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java +++ b/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java @@ -43,7 +43,7 @@ public class WebsocketConfiguration extends WebMvcConfigurerAdapter implements W } @Bean XMPPConnection xmpp() { - return new XMPPConnection(env.getProperty("xmpp_password")); + return new XMPPConnection(); } @Override public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) { |