aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-06-28 11:23:34 +0300
committerGravatar Vitaly Takmazov2016-06-28 11:23:34 +0300
commitf2387bcc06dca0bf3368f32a99a6ec74a7381ccd (patch)
tree4f43def21de08cbdf9a09dca66ba01ba5f7b22c1 /src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java
parenta3b1c3f5ea8248ab9060bc773aa819ca4b090bee (diff)
fix xmpp component wiring
Diffstat (limited to 'src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java')
-rw-r--r--src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java2
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 a298d0a0..9fd75bb0 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(jdbc(), env.getProperty("xmpp_password"));
+ return new XMPPConnection(env.getProperty("xmpp_password"));
}
@Override
public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) {