前言:
Tigase XMPP Server是服務器端軟件,提供XMPP服務或實例通信(IC)服務。最基本的解釋是,Tigase是聊天服務器,但不僅限於此。聊天是其可能的應用之一,但是任何類型的即時通訊服務,無論是人還是機器,都可以通過Tigase XMPP服務器進行。
官網:https://tigase.net/content/tigase-xmpp-server
對Tigase支持的功能的概述:
https://blog.csdn.net/chenjiangzhen4337/article/details/101056640
XMPP tigase 8.0 與 strophe.js 測試Web聊天服務/即時通信:
https://blog.csdn.net/Pai_Da_Xing/article/details/88882059#commentBox
IDEA 上 Tigase8.0 源代碼編譯運行:
https://blog.csdn.net/Jonny_jun_gao/article/details/90612780
Spark下載地址:
https://pan.baidu.com/s/1fJBfQgw4ydIYHBLbBl24FA 密碼:9h36
羣配置信息:
https://www.ucloud.cn/yun/49341.html
配置聊天記錄入數據庫:
我用的是Tigase8.0版本
1.先配置聊天記錄(config.tdsl
):
message-archive {
archive-repo-uri = 'jdbc:mysql://localhost/tigasedb7?user=root&password=root',
tags-support = true
}
sess-man {
message-archive {
default-store-method = 'message',
required-store-method = 'body'
}
}
亂碼問題,修改如下即可解決:
message-archive {
archive-repo-uri = 'jdbc:mysql://localhost/tigasedb7?user=root&password=root&useUnicode=true&characterEncoding=UTF-8',
tags-support = true
}
羣消息無法推送,收到new room locked消息體,設置配置文件config.tdsl:
muc {
'muc-lock-new-room' = false
}