File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
src/main/java/com/rabbitmq/client/amqp Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 23
23
/** Builder for {@link Connection} instances. */
24
24
public interface ConnectionBuilder extends ConnectionSettings <ConnectionBuilder > {
25
25
26
+ /**
27
+ * Set the name of the connection.
28
+ *
29
+ * <p>The name of the connection will be displayed in the management UI.
30
+ *
31
+ * @param name client-provided connection name
32
+ * @return this builder instance
33
+ */
34
+ ConnectionBuilder name (String name );
35
+
26
36
/**
27
37
* Configuration for recovery.
28
38
*
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ void copyTo(AmqpConnectionBuilder copy) {
168
168
copy .dispatchingExecutor (this .dispatchingExecutor );
169
169
}
170
170
171
- AmqpConnectionBuilder name (String name ) {
171
+ public AmqpConnectionBuilder name (String name ) {
172
172
this .name = name ;
173
173
return this ;
174
174
}
You can’t perform that action at this time.
0 commit comments