基于RabbitMQ.Client封装
主要功能:
- 工作队列
- 延时队列
-
Install-Package TZ.RabbitMQ.Client
-
注入服务:
services.AddRabbitMQClient(Configuration);
- 配置Redis
"RabbitMQClient": {
"Host": "127.0.0.1",
"Port": 5672,
"VirtualHost": "/abc",
"Username": "aaa",
"Password": "bbb"
}
- 使用见项目Demo