Commit d0731cc5 authored by macro's avatar macro
Browse files

Update QueueEnum.java

parent 1bd237b4
...@@ -20,15 +20,15 @@ public enum QueueEnum { ...@@ -20,15 +20,15 @@ public enum QueueEnum {
/** /**
* 交换名称 * 交换名称
*/ */
private String exchange; private final String exchange;
/** /**
* 队列名称 * 队列名称
*/ */
private String name; private final String name;
/** /**
* 路由键 * 路由键
*/ */
private String routeKey; private final String routeKey;
QueueEnum(String exchange, String name, String routeKey) { QueueEnum(String exchange, String name, String routeKey) {
this.exchange = exchange; this.exchange = exchange;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment