mirror of
https://github.com/ThingsGateway/ThingsGateway.git
synced 2026-10-24 09:28:10 +08:00
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
---
|
|
id: pluginrabbitmqclient
|
|
title: RabbitMQClient
|
|
---
|
|
|
|
## 一、设备扩展属性
|
|
|
|
<img src={require('../static/img/docs/pluginrabbitmqclient-1.png').default} width="300" />
|
|
|
|
| 属性 | 说明 | 默认值/备注|
|
|
| ---------------| --------------------------| ---|
|
|
| IP | 连接IP | 127.0.0.1|
|
|
| 端口 | 连接端口 | 5672|
|
|
| 账号 | 登录账号 | guest|
|
|
| 密码 | 登录密码 | guest|
|
|
|是否发布List| |False|
|
|
|是否声明队列| |False|
|
|
| 虚拟Host | | / |
|
|
|路由名称 | |TG|
|
|
|变量队列名称| |ThingsGateway/Variable|
|
|
|设备队列名称| |ThingsGateway/Device|
|
|
| 线程循环间隔 | 上传线程的循环间隔,一般不需要更改(ms) | 1000 |
|
|
| 缓存最大条数 | 离线缓存时的最大条数,这里指的是发布不成功时的缓存次数 | 2000 |
|
|
| 列表分割大小 | 发布的实体列表按大小分割 | 1000 |
|
|
|
|
|
|
## 二、变量配置
|
|
|
|
<img src={require('../static/img/docs/pluginrabbitmqclient-2.png').default} width="300" />
|
|
|
|
|
|
### 启用
|
|
|
|
启用变量后才能进行上传
|
|
|
|
|
|
## 三、实体脚本
|
|
|
|
移至 [实体脚本](./pluginmqttserver.mdx#三实体脚本) 查看
|