File tree Expand file tree Collapse file tree 3 files changed +17
-12
lines changed
src/main/java/info/unterrainer Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 10
10
11
11
<modelVersion >4.0.0</modelVersion >
12
12
<artifactId >websocket-client</artifactId >
13
- <version >1.0.0 </version >
13
+ <version >1.0.3 </version >
14
14
<name >WebsocketClient</name >
15
15
<packaging >jar</packaging >
16
16
28
28
<version >1.0.7</version >
29
29
</dependency >
30
30
<dependency >
31
- <groupId >jakarta.websocket</groupId >
32
- <artifactId >jakarta.websocket-client-api</artifactId >
33
- <version >2.1.0</version >
34
- </dependency >
35
- <dependency >
36
- <groupId >org.glassfish.tyrus</groupId >
37
- <artifactId >tyrus-client</artifactId >
31
+ <groupId >org.glassfish.tyrus.bundles</groupId >
32
+ <artifactId >tyrus-standalone-client</artifactId >
38
33
<version >2.1.3</version >
39
34
</dependency >
40
-
35
+
36
+
41
37
</dependencies >
42
38
43
39
</project >
Original file line number Diff line number Diff line change 2
2
3
3
public class Information {
4
4
public static final String name = "Websocket-Client" ;
5
- public static final String buildTime = "2025-07-25T12:38:56Z " ;
6
- public static final String pomVersion = "1.0.0 " ;
5
+ public static final String buildTime = "2025-08-07T14:26:04Z " ;
6
+ public static final String pomVersion = "1.0.3 " ;
7
7
}
Original file line number Diff line number Diff line change @@ -74,7 +74,16 @@ public void close() {
74
74
75
75
public void establish () {
76
76
String accessToken = null ;
77
- ClientManager container = ClientManager .createClient ();
77
+ log .debug ("Establish called." );
78
+
79
+ ClientManager container ;
80
+ try {
81
+ container = ClientManager .createClient ();
82
+ log .info ("ClientManager created" );
83
+ } catch (Exception e ) {
84
+ log .error ("Failed to create ClientManager: {}" , e .getMessage (), e );
85
+ return ;
86
+ }
78
87
endpoints = new WebsocketEndpoints (this );
79
88
Builder c = ClientEndpointConfig .Builder .create ();
80
89
You can’t perform that action at this time.
0 commit comments