Closed skorsky closed 9 years ago
There is no requirements to replace WsMsgBroker, you are free to use anything you want.
WsMsgBroker is just a WebSocket server/broker that I have made because I could not find anything else using only WebSockets and providing a "basic but handy" protocol. But it is clearly not perfect.
You can find some documentation about its protocol there
@skorsky can you close this is the answer suits you?
@maxleiko - I'm just working on this.
I connected the JavaNode with our messaging product, which supports WebSockets, but the communication breaks. With a monitor I got this on the wire. No clue what the binary stuff is.
@maxleiko any idea?
==== Request ==== GET / HTTP/1.1 Origin: localhost Sec-WebSocket-Key: hSNm+p1zAtMfKDiom7Y0gw== Connection: upgrade Sec-WebSocket-Version: 13 Upgrade: websocket Host: 127.0.0.1:9050
?ÖПpº«½Ù¤öÔò¥Rȵøɤú˜ü½Þò¥R•¾ðߣÄÕ´ú@çÿü× ðß¾ëá½æ3Õ½ï-•¢úϹíÞ‹ðÎ?êϵÂ/Ù¸þŠò∀8Žþ< ==== Response ==== HTTP/1.1 101 Switching Protocols Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: e27ORht+IeUvXHh6GbnSVnHkUBA=
No idea. It's pretty weird.
OK, I'll leave this as is for now.
This is related to https://github.com/HEADS-project/training/tree/master/2.Kevoree_Basics/6.Contrib/SAG and #53. What are the technical requirements for a broker / message bus to replace WsMsgBroker? What protocols are used by WsMsgBroker?
Looks like WsMsgBroker is sending the same message several times on one channel.