3 Star 9 Fork 7

xengine / XEngine_MQService

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
Sync branch
Notice: Creating folder will generate an empty file .keep, because not support in Git

中文 || English


This repository has a development and master branch. If you want to use it, please use the master branch
As long as the repository is not in suspended state, we will maintain and develop it all the time, please use it with confidence


c c++消息服务 消息中间件 c c++Message Queue Service

Software Architecture

the software developed based on xengine,using c/c++ development
the software is a simple and high performance server,Allow users to use it directly without secondary development
the software mainly provides a message queue and dds engine,support http,WEBSOCKET and private protocol api server

Software features

this software support following features

  1. message serial
  2. Permanent message(planning)
  3. message timeout
  4. topic Partition
  5. message tracking(planning)
  6. encrypt Communication(planning)
  7. load balanc(planning)
  8. message get time
  9. message subcribe
  10. support Permission Validation
  11. support multi protocol(TCP,WEBSOCKET)
  12. Active delivery acquisition mode or passive subscription notification module
  13. get order and start serial pos setting
  14. Unlimited load message types
  15. timed message
  16. Access control(planning)
  17. binary message
  18. http interface management
  19. message attritube


XEngine Evn

you must install XEngine,need V8.15 or above,install XEngine can be refer to xengine Readme docment

fast to deployment

git clone https://gitee.com/xyry/libxengine.git or git clone https://github.com/libxengine/xengine.git
window Exection XEngine_WINEnv.bat
Linux Exection:sudo ./XEngine_LINEnv.sh -i 3
Macos Exection:./XEngine_LINEnv.sh -i 3


use vs open and complie,support windows 7sp1 and above
Just Run it.


Linux use Makefile to complie
supproted ubuntu22.04 x64 or RockyLinux9 x64


execute command in XEngine_Source path make complie
make FLAGS=InstallAll install
make FLAGS=CleanAll clear
If there is no error.you can see complied XEngine_MQServiceApp file in XEngine_Release
You can running at terminal.


Linux use Makefile to complie,terminal exection,Requires mac 13 and above


same linux

Installation Instructions


Modify the configuration file to what you need, and then run the service directly need to mysql service support,create database through CreateDatabase.sql,import XEngine_SQLFile/XEngine_MQData.sql and XEngine_SQLFile/XEngine_MQUser.sql to create table.


If it is an upgrade installation, after downloading the new version and modifying the configuration file, it can be run directly database you need to open the database matching fields and tables are consistent


  1. Switch to the MASTER branch
  2. download code
  3. complie
  4. install
  5. run
  6. run example code

directory struct

  • XEngine_Docment docment directory
  • XEngine_Release install directory
  • XEngine_Source code directory
  • XEngine_Apps Client code directory
  • XEngine_SQLFile database file back dir

other problems

You can refer to the document under the docment directory. It contains API protocol and service description.

Test Server Address

Address:app.xyry.org Port:TCP 5200,WEBSOCKET 5201,HTTP Management Interface 5202

Participate in contribution

  1. Fork this code
  2. Create new Feat_xxx branch
  3. Submit the code
  4. New Pull Request

Follow us

If you think this software is helpful to you, please give us a START

post issues

if you have eny quest.post issues...

MIT License Copyright (c) 2023 XEngine:www.xyry.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


c c++消息队列服务 消息队列中间件 c c++Message Queue Service expand collapse
C++ and 4 more languages




Load More
can not load any more