使用同一账号在多个xmpp客户端连接openfire服务器的解决方案
来源:互联网 发布:360浏览器 知乎 编辑:程序博客网 时间:2024/05/16 23:39
需要两点:
1. 相同的账号需要使用不同的resource,可用时间戳生成,如 vim@gmail/1359956556,vim@gmail/1359956777。
2.
http://stackoverflow.com/questions/10731542/support-multiple-login-at-the-same-time-in-openfire-server
This is by design of XMPP, as can be seen in RFC3921, section 11.1 "Inbound Stanzas".
To send messages addressed to a bare JID in openfire to all related full JIDs (resources + bare JID), you need to set the system property route.all-resources
with the value true
in Openfire (Admin Console > Server Manager > System Properties). You will have to create this system property. Also you would have to set the same priority in both clients.
See also these igniterealtime forums posts.
[文章作者]曾健生
[作者邮箱]zengjiansheng1@126.com
[作者QQ]190678908
[博客] http://blog.csdn.net/newjueqi
http://blog.sina.com.cn/h6k65
- 使用同一账号在多个xmpp客户端连接openfire服务器的解决方案
- 同一客户端多个git账号的配置
- linux同一客户端多个git账号的配置
- Socket编程服务器和客户端(多个客户端可以同时连接一个服务器的同一端口)
- Socket编程服务器和客户端(多个客户端可以同时连接一个服务器的同一端口)
- Socket编程服务器和客户端(多个客户端可以同时连接一个服务器的同一端口)
- 关于XMPP协议android客户端和openfire的连接问题
- 关于xmpp连接openfire服务器的一些常见问题
- 优化openfire服务器提升xmpp 效率的15个方法
- 关于在同一母版页中使用多个CSS文件的解决方案
- TCP的多个客户端连接服务器
- 在同一台电脑上配置多个git账号
- Android客户端基于XMPP的IM(openfire+asmack)的聊天工具之环境搭建及与服务器建立连接(一)
- 基于jabber/xmpp即时通讯服务器OpenFire的客户端Spark的中文汉化
- Asmack客户端无法连接Openfire服务器问题的解决
- Xmpp协议 OpenFire服务器 Asmack Android客户端 一些Bug的解决方法
- Android基于XMPP Smack Openfire开发IM【三】客户端接收服务器发送的消息
- Android基于XMPP Smack Openfire开发IM【三】客户端接收服务器发送的消息
- 网秦用户量遭质疑
- Evernote:百年创业者
- 多努力一次
- u-boot-2012.10 官方文档翻译--目录层次结构
- ubuntu Sublime Text2插件之 - JSON格式化
- 使用同一账号在多个xmpp客户端连接openfire服务器的解决方案
- 如何成为一名程序员:我的道路
- 2012 JinHuaSite Regional Contest Problem J
- 微软的世界你不懂,Office 即将来到 iOS 平台
- Unrecognized attribute requestValidationMode httpRuntime requestValidationMo
- 万物互联天下 创造未来奇迹
- 驱动程序调试方法之printk——printk的原理与直接使用
- 下一代防火墙管理设备:更智能也更复杂!
- 苹果要求分享SkyDrive应用三成营收 微软不给