XMPP Connection Pool

馋奶兔 提交于 2019-12-11 18:12:10

问题


I'm developing service which communicates with users via my own protocol (persistent socket connection). I need to add possibility for users to send and receive messages via XMPP. So, on server I wish to implement connection pool for XMPP connections, but I think it's already done, but google says nothing... Do you now implementations?


回答1:


You can use XMPPPool. I wrote that a long time ago and I don't support it in any way.

However, there it is. I hope you find it useful.

A bit of documentation is available.




回答2:


Several bosh connection managers do use connection pooling of xmpp connections internally. Here is one i know written in Java: JabberHTTPBind . You might just want to have a look at it's code for further help.



来源:https://stackoverflow.com/questions/3718317/xmpp-connection-pool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!