Neither look good - but I wondered if an earlier versions works?
I have OpenFire 3.7.1 running and when using the Smack 4.0.2 library with the BOSH connection it intermittenly works but after a couple of messages I get delays and exceptions thrown when pulling back the roster (am trying to work out how to get the bosh and jbosh libraries checked out and working locally so I can debug it).
<open eclipse, choose “import existing projects”, debug the code and set breakpionts in the libraries>
I’m looking for someone skilled and dedicated, who steps up and maintains smack-bosh and jbosh in coordination with me. But in the last 4 years, nobody emerged. I though especially the idea to get smack-bosh working on Android (again) may motiviate people.
smack-websocket would be a great addition, as long as it’s based on draft-ietf-xmpp-websocket-10 (I assume @Dele Olajide’s openfire-websockets does so).
Tyrus seems to be a good choice. Important for smack-websocket would be Android (API 8) support, which means that every API it depends on (e.g. Tyrus) must also support running on Android API 8. There are a few hints that Tyrus seems to be able to run on Android, but there is no min SDK level mentioned:
[TYRUS-256] Support Client API on Andriod - Java.net JIRA
POC code is great as first step, but in order to get smack-websocket merged I expect good quality code preferable with some unit tests. This may take a few review rounds and coordination with me. But if you are willing and motivated to drive this project I would support you wherever I can. I invite you to join #smack (Freenode) to talk about the next steps (and of course to idle around ).
agreed It really should be done as part of openfire core http namespace code and not a plugin in order to fallback gracefully into BOSH when websockets fails