powered by Jive Software

Smack for openfire and BOSH

I am using smack library with bosh (library compiled from http://svn.igniterealtime.org/svn/repos/smack/branches/bosh/smack-bosh/).

I have a problem. I succesfully manage to connect to the server over bosh, and I start message listener on the connection but I’m able to get only first message. The listener doesn’t react on all next messages. Has anybody had such an issue?

After sometime I completely also loose the connection. How to keep it alive? is it normal for bosh?

  • Found solution - the problem appeared because I was using smackx not matching my smack version, there was a missing constant. I saw it after enabling debugging mode on BOSH connection.