Skip to content

Commit

Permalink
Update RabbitMQ_客户端开发.md
Browse files Browse the repository at this point in the history
  • Loading branch information
heibaiying authored Mar 23, 2020
1 parent 7aa07d3 commit 87171d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notes/RabbitMQ_客户端开发.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ Exchange.DeclareOk exchangeDeclare(String exchange,


+ **exchange**: 交换器的名称。
+ **type**:交换器的类型。交换器的常用类型都定义在 `BuiltInExchangeType ` 枚举类中。
+ **type**:交换器的类型。交换器的常用类型都定义在 `BuiltInExchangeType` 枚举类中。
+ **durable**:是否进行持久化。持久化可以将交换器的信息存储到磁盘,在服务器重启后不会丢失相关的信息。
+ **autoDelete**:是否自动删除。自动删除的前提是至少有一个队列或者其他交换器与该交换器进行过绑定,之后所有与该交换器绑定的队列或其他交换器都解除绑定关系后,该交换器会被自动删除。通常设置为 false。
+ **internal**:是否内置,如果设置 为true,则表示是内置的交换器,客户端程序无法直接发送消息到这个交换器中,只能通过交换器路由到交换器的方式。
+ **internal**:是否内置,如果设置为 true,则表示是内置的交换器,客户端程序无法直接发送消息到这个交换器中,只能通过交换器路由到交换器的方式。
+ **arguments**:其余可选配置。

### 1.3 声明队列
Expand Down

0 comments on commit 87171d8

Please sign in to comment.