Tigase下载安装(Linxu+Window版本)实现教程+配置聊天记录入数据库

前言:

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
  }

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章