-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Let me just say that SimpleFramework is fantastic :)
In any case, I am having some troubles getting WebSockets to work correctly (using 6.0.1).
Although I am able to connect to SimpleFramework's WebSocket communication sometimes fails (succeeds about 30% of the time - JUnit). I am connecting with the Java WebSocket library (https://github.com/TooTallNate/Java-WebSocket). I tried with different protocols to no avail.
It's little bit difficult to find documentation on SimpleFramework's WebSocket, so I am not so sure if I am setting everything up correctly? I was following the spring.xml here (I am doing everything in code):
https://github.com/ngallagher/simpleframework/blob/master/simple-demo/simple-demo-chat/etc/spring.xml
Questions:
- What protocols are you supporting? All?
- Is there any more documentation on how to set up things in code.
- Do you have a Java websocket (not JavaScript) library you recommend with SimpleFramework?
- Edit: also it appears you are only using 2 threads for the chat demo. Is that correct? For about 1000 connections how many threads do you recommend?
Metadata
Metadata
Assignees
Labels
No labels