对 rabbitmq-c 进行封装, 支持多线程, 高并发访问
头文件地址:
https://github.com/MwlLj/cpp_component/tree/master/component/header/amqp
源文件地址:
https://github.com/MwlLj/cpp_component/tree/master/component/src/amqp/source
测试地址:
https://github.com/MwlLj/cpp_component/tree/master/component/src/amqp/amqp_test/source
完整工程:
https://github.com/MwlLj/cpp_component
支持功能:
1. 断线重连机制
2. 高并发处理
3. 处理类中是一个线程, 可以直接在handler中做耗时操作
example:
#include <iostream>
#include "amqp/amqp.h"
#include "amqp/rabbitm